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 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))
 
#define TIMER0_TIMER0_OUT_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<28))
 
#define TIMER1_TIMER1_OUT_PORTP1_MUX   ((uint32_t) ((uint32_t) 2<<22))
 
#define TIMER2_TIMER2_OUT_PORTP2_MUX   ((uint16_t) ((uint16_t) 2<<2))
 
#define ADC0_IN_ADC_CONVERT_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<26))
 
#define ADC0_IN_ADC0_IN0_PORTP2_MUX   ((uint16_t) ((uint16_t) 1<<6))
 
#define ADC0_IN_ADC0_IN1_PORTP2_MUX   ((uint16_t) ((uint16_t) 1<<8))
 
#define ADC0_IN_ADC0_IN2_PORTP2_MUX   ((uint16_t) ((uint16_t) 1<<10))
 
#define ADC0_IN_ADC0_IN3_PORTP2_MUX   ((uint16_t) ((uint16_t) 1<<12))
 
#define ADC0_IN_ADC0_IN4_PORTP2_MUX   ((uint16_t) ((uint16_t) 1<<14))
 
#define ADC0_IN_ADC0_IN5_PORTP2_MUX   ((uint32_t) ((uint32_t) 1<<16))
 
#define ADC0_IN_ADC0_IN6_PORTP2_MUX   ((uint32_t) ((uint32_t) 1<<18))
 
#define ADC0_IN_ADC0_IN7_PORTP2_MUX   ((uint32_t) ((uint32_t) 1<<20))
 

Functions

int32_t adi_initpinmux (void)
 

Macro Definition Documentation

◆ ADC0_IN_ADC0_IN0_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN1_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN2_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN3_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN4_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN5_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN6_PORTP2_MUX

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

◆ ADC0_IN_ADC0_IN7_PORTP2_MUX

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

◆ ADC0_IN_ADC_CONVERT_PORTP1_MUX

#define ADC0_IN_ADC_CONVERT_PORTP1_MUX   ((uint32_t) ((uint32_t) 1<<26))

◆ TIMER0_TIMER0_OUT_PORTP0_MUX

#define TIMER0_TIMER0_OUT_PORTP0_MUX   ((uint32_t) ((uint32_t) 1<<28))

◆ TIMER1_TIMER1_OUT_PORTP1_MUX

#define TIMER1_TIMER1_OUT_PORTP1_MUX   ((uint32_t) ((uint32_t) 2<<22))

◆ TIMER2_TIMER2_OUT_PORTP2_MUX

#define TIMER2_TIMER2_OUT_PORTP2_MUX   ((uint16_t) ((uint16_t) 2<<2))

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