HAL Configuration Options Table Part 2

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> ADKates on ‎06-12-2017 05:29 PM

This is a continuation of the HAL Config Options Table

Back to Table Part 1

Back to Migrating to the new HAL Config file format for EFR32

 

PTA

BSP_PTA_GNT_ASSERT_LEVEL

0 or 1

 

PTA grant assert signal level

PTA

BSP_PTA_GNT_PIN

0-15

 

PTA grant pin

PTA

BSP_PTA_GNT_PORT

GPIO_Port_TypeDef

 

PTA grant port

PTA

BSP_PTA_PRI_ASSERT_LEVEL

0 or 1

 

PTA priority assert signal level

PTA

BSP_PTA_PRI_PIN

0-15

 

PTA priority pin

PTA

BSP_PTA_PRI_PORT

GPIO_Port_TypeDef

 

PTA priority port

PTA

BSP_PTA_REQ_ASSERT_LEVEL

0 or 1

 

PTA request assert signal level

PTA

BSP_PTA_REQ_PIN

0-15

 

PTA request pin

PTA

BSP_PTA_REQ_PORT

GPIO_Port_TypeDef

 

PTA request port

PTA

BSP_PTA_REQ_SHARED

0 or 1

 

Configure PTA request signal for shared mode

PTA

HAL_PTA_ENABLE

0 or 1

 

Enable packet traffic arbitration

PTA

HAL_PTA_OPTIONS

HalPtaOptions

 

PTA options

PTI

BSP_PTI_DCLK_LOC

_FRC_ROUTELOC0_DCLKLOC_LOCn

 

PTI DCLK location (may be defined for SPI)

PTI

BSP_PTI_DCLK_PIN

0-15

 

PTI DCLK pin (may be defined for SPI)

PTI

BSP_PTI_DCLK_PORT

GPIO_Port_TypeDef

 

PTI DCLK port (may be defined for SPI)

PTI

BSP_PTI_DFRAME_LOC

_FRC_ROUTELOC0_DFRAMELOC_LOCn

 

PTI DFRAME location (may be defined for UART/SPI)

PTI

BSP_PTI_DFRAME_PIN

0-15

 

PTI DFRAME pin (may be defined for UART/SPI)

PTI

BSP_PTI_DFRAME_PORT

GPIO_Port_TypeDef

 

PTI DFRAME port (may be defined for UART/SPI)

PTI

BSP_PTI_DOUT_LOC

_FRC_ROUTELOC0_DOUTLOC_LOCn

 

PTI DOUT location (must be defined)

PTI

BSP_PTI_DOUT_PIN

0-15

 

PTI DOUT pin (must be defined)

PTI

BSP_PTI_DOUT_PORT

GPIO_Port_TypeDef

 

PTI DOUT port (must be defined)

PTI

BSP_PTI_PRESENT

0 or 1

 

PTI is present

PTI

HAL_PTI_BAUD_RATE

uint32_t

 

PTI baud rate

PTI

HAL_PTI_ENABLE

0 or 1

 

Enable PTI

PTI

HAL_PTI_MODE

HAL_PTI_MODE_SPI, HAL_PTI_MODE_UART, HAL_PTI_MODE_UART_ONEWIRE

 

PTI Mode. Required signals per mode:
SPI: DOUT+DCLK+DFRAME
UART (one wire): DOUT
UART: DOUT+DFRAME

RHO

BSP_RHO_ASSERT_LEVEL

0 or 1

 

Radio hold off assert signal level

RHO

BSP_RHO_PIN

0-15

 

Radio hold off pin

RHO

BSP_RHO_PORT

GPIO_Port_TypeDef

 

Radio hold off port

RHO

HAL_RHO_ENABLE

0 or 1

 

Enable radio hold off. HAL_RHO_ASSERT_LEVEL, HAL_RHO_PORT, and HAL_RHO_PIN must be defined.

SERIAL

HAL_SERIAL_APP_PORT

HAL_SERIAL_PORT_VCP, HAL_SERIAL_PORT_USART0, HAL_SERIAL_PORT_USART1, HAL_SERIAL_PORT_USART2, HAL_SERIAL_PORT_LEUART0, HAL_SERIAL_PORT_LEUART1, HAL_SERIAL_PORT_USB

 

Port for application serial communication

SERIAL

HAL_SERIAL_ASSERT_PORT

HAL_SERIAL_PORT_VCP, HAL_SERIAL_PORT_USART0, HAL_SERIAL_PORT_USART1, HAL_SERIAL_PORT_USART2, HAL_SERIAL_PORT_LEUART0, HAL_SERIAL_PORT_LEUART1, HAL_SERIAL_PORT_USB

 

Port for assert serial communication

SERIAL

HAL_SERIAL_LEUARTn_ENABLE

0 or 1

 

Enable LEUARTn serial use

SERIAL

HAL_SERIAL_RXWAKE_ENABLE

0 or 1

 

Enable wake from activity on RX GPIO of application port

SERIAL

HAL_SERIAL_UARTn_ENABLE

0 or 1

 

Enable UARTn serial use

SERIAL

HAL_SERIAL_USARTn_ENABLE

0 or 1

 

Enable USARTn serial use

SERIAL

HAL_SERIAL_USB_ENABLE

0 or 1

 

Enable USB serial use

SERIAL

HAL_SERIAL_VCOM_ENABLE

0 or 1

 

Enable VCOM (does not enable underlying UART)

SERIAL

HAL_SERIAL_VUART_ENABLE

0 or 1

 

Enable VUART serial use

SPINCP

BSP_SPINCP_NHOSTINT_PIN

0-15

 

SPI NCP nHOST_INT pin

SPINCP

BSP_SPINCP_NHOSTINT_PORT

GPIO_Port_TypeDef

 

SPI NCP nHOST_INT port

SPINCP

BSP_SPINCP_NWAKE_PIN

0-15

 

SPI NCP nWAKE pin

SPINCP

BSP_SPINCP_NWAKE_PORT

GPIO_Port_TypeDef

 

SPI NCP nWAKE port

SPINCP

BSP_SPINCP_USART_PORT

0-4

 

SPI NCP USART port

UARTNCP

BSP_UARTNCP_USART_PORT

HAL_SERIAL_PORT_USART0, HAL_SERIAL_PORT_USART1, HAL_SERIAL_PORT_USART2, HAL_SERIAL_PORT_LEUART0, HAL_SERIAL_PORT_LEUART1

 

UART NCP USART port

USART

BSP_USARTn_CLK_LOC

_USART_ROUTELOC0_CLKLOC_LOCn

 

USARTn CLK location (SPI)

USART

BSP_USARTn_CLK_PIN

0-15

 

USARTn CLK pin (SPI)

USART

BSP_USARTn_CLK_PORT

GPIO_Port_TypeDef

 

USARTn CLK port (SPI)

USART

BSP_USARTn_CS_LOC

_USART_ROUTELOC0_CSLOC_LOCn

 

USARTn CS location (SPI)

USART

BSP_USARTn_CS_PIN

0-15

 

USARTn CS pin (SPI)

USART

BSP_USARTn_CS_PORT

GPIO_Port_TypeDef

 

USARTn CS port (SPI)

USART

BSP_USARTn_CTS_LOC

_USART_ROUTELOC1_CTSLOC_LOCn

EFR32

USARTn CTS location (UART)

USART

BSP_USARTn_CTS_PIN

0-15

 

USARTn CTS pin (UART)

USART

BSP_USARTn_CTS_PORT

GPIO_Port_TypeDef

 

USARTn CTS port (UART)

USART

BSP_USARTn_MISO_LOC

_USART_ROUTELOC0_RXLOC_LOCn

EFR32

USARTn MISO location (SPI)

USART

BSP_USARTn_MISO_PIN

0-15

 

USARTn MISO pin (SPI)

USART

BSP_USARTn_MISO_PORT

GPIO_Port_TypeDef

 

USARTn MISO port (SPI)

USART

BSP_USARTn_MOSI_LOC

_USART_ROUTELOC0_TXLOC_LOCn

EFR32

USARTn MOSI location (SPI)

USART

BSP_USARTn_MOSI_PIN

0-15

 

USARTn MOSI pin (SPI)

USART

BSP_USARTn_MOSI_PORT

GPIO_Port_TypeDef

 

USARTn MOSI port (SPI)

USART

BSP_USARTn_ROUTE_LOC

_USART_ROUTE_LOCATION_LOCn

EZR32

USARTn route location

USART

BSP_USARTn_RTS_LOC

_USART_ROUTELOC1_RTSLOC_LOCn

EFR32

USARTn RTS location (UART)

USART

BSP_USARTn_RTS_PIN

0-15

 

USARTn RTS pin (UART)

USART

BSP_USARTn_RTS_PORT

GPIO_Port_TypeDef

 

USARTn RTS port (UART)

USART

BSP_USARTn_RX_LOC

_USART_ROUTELOC0_RXLOC_LOCn

EFR32

USARTn RX location (UART)

USART

BSP_USARTn_RX_PIN

0-15

 

USARTn RX pin (UART)

USART

BSP_USARTn_RX_PORT

GPIO_Port_TypeDef

 

USARTn RX port (UART)

USART

BSP_USARTn_TX_LOC

_USART_ROUTELOC0_TXLOC_LOCn

EFR32

USARTn TX location (UART)

USART

BSP_USARTn_TX_PIN

0-15

 

USARTn TX pin (UART)

USART

BSP_USARTn_TX_PORT

GPIO_Port_TypeDef

 

USARTn TX port (UART)

USART

HAL_USARTn_BAUD_RATE

uint32_t

 

USARTn baud rate (must be less than refFreq/oversampling)

USART

HAL_USARTn_FLOW_CONTROL

HAL_USART_FLOW_CONTROL_NONE,
HAL_USART_FLOW_CONTROL_SW,
HAL_USART_FLOW_CONTROL_HW,
HAL_USART_FLOW_CONTROL_HWUART

 

USARTn flow control mode (UART)

USART

HAL_USARTn_RX_QUEUE_SIZE

uint16_t

 

USARTn RX buffer size (must be a multiple of HAL_USARTn_RXSTOP)

USART

HAL_USARTn_RXSTART

uint16_t; multiple of rxstop

 

USARTn release flow control threshold (must be a multiple of HAL_USARTn_RXSTOP)

USART

HAL_USARTn_RXSTOP

uint16_t

 

USARTn assert flow control threshold

USART

HAL_USARTn_TX_QUEUE_SIZE

uint16_t

 

USARTn TX buffer size

VCOM

BSP_VCOM_CTS_LOC

_USART_ROUTELOC1_CTSLOC_LOCn

EFR32

VCOM CTS location

VCOM

BSP_VCOM_CTS_PIN

0-31

 

VCOM CTS pin

VCOM

BSP_VCOM_CTS_PORT

GPIO_Port_TypeDef

 

VCOM CTS port

VCOM

BSP_VCOM_ENABLE_PIN

0-15

 

VCOM enable pin

VCOM

BSP_VCOM_ENABLE_PORT

GPIO_Port_TypeDef

 

VCOM enable port

VCOM

BSP_VCOM_IOEXP_ENABLE

0 or 1

 

VCOM is enabled via IO expander

VCOM

BSP_VCOM_PRESENT

0 or 1

 

VCOM availability

VCOM

BSP_VCOM_ROUTE_LOC

_USART_ROUTE_LOCATION_LOCn

EZR32

VCOM route location

VCOM

BSP_VCOM_RTS_LOC

_USART_ROUTELOC1_RTSLOC_LOCn

EFR32

VCOM RTS location

VCOM

BSP_VCOM_RTS_PIN

0-31

 

VCOM RTS pin

VCOM

BSP_VCOM_RTS_PORT

GPIO_Port_TypeDef

 

VCOM RTS port

VCOM

BSP_VCOM_RX_LOC

_USART_ROUTELOC0_RXLOC_LOCn

EFR32

VCOM RX location

VCOM

BSP_VCOM_RX_PIN

0-31

 

VCOM RX pin

VCOM

BSP_VCOM_RX_PORT

GPIO_Port_TypeDef

 

VCOM RX port

VCOM

BSP_VCOM_TX_LOC

_USART_ROUTELOC0_TXLOC_LOCn

EFR32

VCOM TX location

VCOM

BSP_VCOM_TX_PIN

0-31

 

VCOM TX pin

VCOM

BSP_VCOM_TX_PORT

GPIO_Port_TypeDef

 

VCOM TX port

VCOM

BSP_VCOM_USART

USARTn

 

USART connected to VCOM (must not define USART BSP settings for selected USART)

WDOG

HAL_WDOG_ENABLE

0 or 1

 

Enable watchdog

 

 

 

Back to Table Part 1

Back to Migrating to the new HAL Config file format for EFR32