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_1_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<20))
 
#define I2C0_SCL0_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<8))
 
#define I2C0_SDA0_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<10))
 
#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

◆ I2C0_SCL0_PORTP0_MUX

#define I2C0_SCL0_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<8))

◆ I2C0_SDA0_PORTP0_MUX

#define I2C0_SDA0_PORTP0_MUX   ((uint16_t) ((uint16_t) 1<<10))

◆ SPI0_CS_1_PORTP1_MUX

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

◆ 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_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  )