EFM32ZG_AF_PortsDevices

Macros

#define AF_ACMP0_OUT_PORT (i)    ((i) == 0 ? 4 : (i) == 1 ? -1 : (i) == 2 ? 3 : -1)
#define AF_CMU_CLK0_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? -1 : (i) == 2 ? 3 : -1)
#define AF_CMU_CLK1_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? -1 : (i) == 2 ? 4 : -1)
#define AF_DBG_SWCLK_PORT (i)    ((i) == 0 ? 5 : -1)
#define AF_DBG_SWDIO_PORT (i)    ((i) == 0 ? 5 : -1)
#define AF_I2C0_SCL_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 3 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : (i) == 6 ? 4 : -1)
#define AF_I2C0_SDA_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 3 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : (i) == 6 ? 4 : -1)
#define AF_LEUART0_RX_PORT (i)    ((i) == 0 ? 3 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? 5 : (i) == 4 ? 0 : -1)
#define AF_LEUART0_TX_PORT (i)    ((i) == 0 ? 3 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? 5 : (i) == 4 ? 5 : -1)
#define AF_PCNT0_S0IN_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 2 : (i) == 3 ? 3 : -1)
#define AF_PCNT0_S1IN_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 2 : (i) == 3 ? 3 : -1)
#define AF_PRS_CH0_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 5 : (i) == 2 ? 2 : -1)
#define AF_PRS_CH1_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 5 : (i) == 2 ? 2 : -1)
#define AF_PRS_CH2_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? 5 : (i) == 2 ? 4 : -1)
#define AF_PRS_CH3_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 4 : -1)
#define AF_TIMER0_CC0_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 5 : -1)
#define AF_TIMER0_CC1_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : -1)
#define AF_TIMER0_CC2_PORT (i)    ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : -1)
#define AF_TIMER0_CDTI0_PORT (i)    (-1)
#define AF_TIMER0_CDTI1_PORT (i)    (-1)
#define AF_TIMER0_CDTI2_PORT (i)    (-1)
#define AF_TIMER1_CC0_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? 4 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 3 : -1)
#define AF_TIMER1_CC1_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? 4 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 3 : -1)
#define AF_TIMER1_CC2_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? 4 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 2 : -1)
#define AF_TIMER1_CDTI0_PORT (i)    (-1)
#define AF_TIMER1_CDTI1_PORT (i)    (-1)
#define AF_TIMER1_CDTI2_PORT (i)    (-1)
#define AF_USART1_CLK_PORT (i)    ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 5 : (i) == 3 ? 2 : -1)
#define AF_USART1_CS_PORT (i)    ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 5 : (i) == 3 ? 2 : -1)
#define AF_USART1_RX_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 3 : (i) == 3 ? 3 : -1)
#define AF_USART1_TX_PORT (i)    ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 3 : (i) == 3 ? 3 : -1)

Macro Definition Documentation

#define AF_ACMP0_OUT_PORT ( i ) ((i) == 0 ? 4 : (i) == 1 ? -1 : (i) == 2 ? 3 : -1)

Port number for AF_ACMP0_OUT location number i

Definition at line 61 of file efm32zg_af_ports.h .

#define AF_CMU_CLK0_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? -1 : (i) == 2 ? 3 : -1)

Port number for AF_CMU_CLK0 location number i

Definition at line 47 of file efm32zg_af_ports.h .

#define AF_CMU_CLK1_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? -1 : (i) == 2 ? 4 : -1)

Port number for AF_CMU_CLK1 location number i

Definition at line 48 of file efm32zg_af_ports.h .

#define AF_DBG_SWCLK_PORT ( i ) ((i) == 0 ? 5 : -1)

Port number for AF_DBG_SWCLK location number i

Definition at line 77 of file efm32zg_af_ports.h .

#define AF_DBG_SWDIO_PORT ( i ) ((i) == 0 ? 5 : -1)

Port number for AF_DBG_SWDIO location number i

Definition at line 76 of file efm32zg_af_ports.h .

#define AF_I2C0_SCL_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 3 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : (i) == 6 ? 4 : -1)

Port number for AF_I2C0_SCL location number i

Definition at line 75 of file efm32zg_af_ports.h .

#define AF_I2C0_SDA_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 3 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : (i) == 6 ? 4 : -1)

Port number for AF_I2C0_SDA location number i

Definition at line 74 of file efm32zg_af_ports.h .

#define AF_LEUART0_RX_PORT ( i ) ((i) == 0 ? 3 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? 5 : (i) == 4 ? 0 : -1)

Port number for AF_LEUART0_RX location number i

Definition at line 71 of file efm32zg_af_ports.h .

#define AF_LEUART0_TX_PORT ( i ) ((i) == 0 ? 3 : (i) == 1 ? 1 : (i) == 2 ? -1 : (i) == 3 ? 5 : (i) == 4 ? 5 : -1)

Port number for AF_LEUART0_TX location number i

Definition at line 70 of file efm32zg_af_ports.h .

#define AF_PCNT0_S0IN_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 2 : (i) == 3 ? 3 : -1)

Port number for AF_PCNT0_S0IN location number i

Definition at line 72 of file efm32zg_af_ports.h .

#define AF_PCNT0_S1IN_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 2 : (i) == 3 ? 3 : -1)

Port number for AF_PCNT0_S1IN location number i

Definition at line 73 of file efm32zg_af_ports.h .

#define AF_PRS_CH0_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 5 : (i) == 2 ? 2 : -1)

Port number for AF_PRS_CH0 location number i

Definition at line 66 of file efm32zg_af_ports.h .

#define AF_PRS_CH1_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 5 : (i) == 2 ? 2 : -1)

Port number for AF_PRS_CH1 location number i

Definition at line 67 of file efm32zg_af_ports.h .

#define AF_PRS_CH2_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? 5 : (i) == 2 ? 4 : -1)

Port number for AF_PRS_CH2 location number i

Definition at line 68 of file efm32zg_af_ports.h .

#define AF_PRS_CH3_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 4 : -1)

Port number for AF_PRS_CH3 location number i

Definition at line 69 of file efm32zg_af_ports.h .

#define AF_TIMER0_CC0_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 0 : (i) == 5 ? 5 : -1)

Port number for AF_TIMER0_CC0 location number i

Definition at line 49 of file efm32zg_af_ports.h .

#define AF_TIMER0_CC1_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : -1)

Port number for AF_TIMER0_CC1 location number i

Definition at line 50 of file efm32zg_af_ports.h .

#define AF_TIMER0_CC2_PORT ( i ) ((i) == 0 ? 0 : (i) == 1 ? 0 : (i) == 2 ? -1 : (i) == 3 ? -1 : (i) == 4 ? 2 : (i) == 5 ? 5 : -1)

Port number for AF_TIMER0_CC2 location number i

Definition at line 51 of file efm32zg_af_ports.h .

#define AF_TIMER0_CDTI0_PORT ( i ) (-1)

Port number for AF_TIMER0_CDTI0 location number i

Definition at line 52 of file efm32zg_af_ports.h .

#define AF_TIMER0_CDTI1_PORT ( i ) (-1)

Port number for AF_TIMER0_CDTI1 location number i

Definition at line 53 of file efm32zg_af_ports.h .

#define AF_TIMER0_CDTI2_PORT ( i ) (-1)

Port number for AF_TIMER0_CDTI2 location number i

Definition at line 54 of file efm32zg_af_ports.h .

#define AF_TIMER1_CC0_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? 4 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 3 : -1)

Port number for AF_TIMER1_CC0 location number i

Definition at line 55 of file efm32zg_af_ports.h .

#define AF_TIMER1_CC1_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? 4 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 3 : -1)

Port number for AF_TIMER1_CC1 location number i

Definition at line 56 of file efm32zg_af_ports.h .

#define AF_TIMER1_CC2_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? 4 : (i) == 2 ? -1 : (i) == 3 ? 1 : (i) == 4 ? 2 : -1)

Port number for AF_TIMER1_CC2 location number i

Definition at line 57 of file efm32zg_af_ports.h .

#define AF_TIMER1_CDTI0_PORT ( i ) (-1)

Port number for AF_TIMER1_CDTI0 location number i

Definition at line 58 of file efm32zg_af_ports.h .

#define AF_TIMER1_CDTI1_PORT ( i ) (-1)

Port number for AF_TIMER1_CDTI1 location number i

Definition at line 59 of file efm32zg_af_ports.h .

#define AF_TIMER1_CDTI2_PORT ( i ) (-1)

Port number for AF_TIMER1_CDTI2 location number i

Definition at line 60 of file efm32zg_af_ports.h .

#define AF_USART1_CLK_PORT ( i ) ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 5 : (i) == 3 ? 2 : -1)

Port number for AF_USART1_CLK location number i

Definition at line 64 of file efm32zg_af_ports.h .

#define AF_USART1_CS_PORT ( i ) ((i) == 0 ? 1 : (i) == 1 ? -1 : (i) == 2 ? 5 : (i) == 3 ? 2 : -1)

Port number for AF_USART1_CS location number i

Definition at line 65 of file efm32zg_af_ports.h .

#define AF_USART1_RX_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 3 : (i) == 3 ? 3 : -1)

Port number for AF_USART1_RX location number i

Definition at line 63 of file efm32zg_af_ports.h .

#define AF_USART1_TX_PORT ( i ) ((i) == 0 ? 2 : (i) == 1 ? -1 : (i) == 2 ? 3 : (i) == 3 ? 3 : -1)

Port number for AF_USART1_TX location number i

Definition at line 62 of file efm32zg_af_ports.h .