no-OS
Macros | Functions
pinmux_config.c File Reference
#include <sys/platform.h>
#include <stdint.h>
Include dependency graph for pinmux_config.c:

Macros

#define SPI0_SCLK_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<0))
 
#define SPI0_MOSI_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<2))
 
#define SPI0_MISO_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<4))
 
#define SPI0_CS_0_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<6))
 
#define SPI0_CS_1_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<20))
 
#define SPI0_CS_2_PORTP2_MUX   ((uint32_t) ((uint32_t) 2<<16))
 
#define SPI0_CS_3_PORTP2_MUX   ((uint32_t) ((uint32_t) 2<<18))
 
#define SPI0_RDY_PORTP1_MUX   ((uint32_t) ((uint32_t) 2<<28))
 
#define UART0_TX_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<20))
 
#define UART0_RX_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<22))
 
#define UART0_UART_SOUT_EN_PORTP0_MUX   ((uint32_t) ((uint32_t) 3<<24))
 

Functions

int32_t adi_initpinmux (void)
 

Macro Definition Documentation

◆ SPI0_CS_0_PORTP0_MUX

#define SPI0_CS_0_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<6))

◆ SPI0_CS_1_PORTP1_MUX

#define SPI0_CS_1_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<20))

◆ SPI0_CS_2_PORTP2_MUX

#define SPI0_CS_2_PORTP2_MUX   ((uint32_t) ((uint32_t) 2<<16))

◆ SPI0_CS_3_PORTP2_MUX

#define SPI0_CS_3_PORTP2_MUX   ((uint32_t) ((uint32_t) 2<<18))

◆ SPI0_MISO_PORTP0_MUX

#define SPI0_MISO_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<4))

◆ SPI0_MOSI_PORTP0_MUX

#define SPI0_MOSI_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<2))

◆ SPI0_RDY_PORTP1_MUX

#define SPI0_RDY_PORTP1_MUX   ((uint32_t) ((uint32_t) 2<<28))

◆ SPI0_SCLK_PORTP0_MUX

#define SPI0_SCLK_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<0))

◆ UART0_RX_PORTP0_MUX

#define UART0_RX_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<22))

◆ UART0_TX_PORTP0_MUX

#define UART0_TX_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<20))

◆ UART0_UART_SOUT_EN_PORTP0_MUX

#define UART0_UART_SOUT_EN_PORTP0_MUX   ((uint32_t) ((uint32_t) 3<<24))

Function Documentation

◆ adi_initpinmux()

int32_t adi_initpinmux ( void  )