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 SPI1_SCLK_PORTP1_MUX   ((uint16_t) ((uint16_t) 1<<12))
 
#define SPI1_MISO_PORTP1_MUX   ((uint16_t) ((uint16_t) 1<<14))
 
#define SPI1_MOSI_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<16))
 
#define SPI1_CS_0_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<18))
 
#define UART0_TX_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<20))
 
#define UART0_RX_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<22))
 

Functions

int32_t adi_initpinmux (void)
 

Macro Definition Documentation

◆ SPI1_CS_0_PORTP1_MUX

#define SPI1_CS_0_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<18))

◆ SPI1_MISO_PORTP1_MUX

#define SPI1_MISO_PORTP1_MUX   ((uint16_t) ((uint16_t) 1<<14))

◆ SPI1_MOSI_PORTP1_MUX

#define SPI1_MOSI_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<16))

◆ SPI1_SCLK_PORTP1_MUX

#define SPI1_SCLK_PORTP1_MUX   ((uint16_t) ((uint16_t) 1<<12))

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

Function Documentation

◆ adi_initpinmux()

int32_t adi_initpinmux ( void  )