EasyManua.ls Logo

Silicon Laboratories EFM8 - Page 17

Silicon Laboratories EFM8
35 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Return Value: None
Note: Before this function si4455_reset should be called.
Function Name: U8 si4455_configuration_init(const U8*pSetPropCmd)
Description: This function is used to load all properties with a list of NULL terminated set property commands.
Input Parameter(s): *pSetPropCmd: First element of the list to be loaded.
Return Value: SI4455_COMMAND_ERROR: the list of commands is wrong.
SI4455_CTS_TIMEOUT: If a CTS error occurs.
SI4455_SUCCESS: If loading is successful.
Note: Before this function si4455_reset should be called.
Function Name: void si4455_start_tx(U8 CHANNEL, U8 CONDITION, U16 TX_LEN)
Description: Sends START_TX command to the radio.
Input Parameter(s): CHANNEL: Channel number.
CONDITION: Start TX condition.
TX_LEN: Payload length (exclude the PH generated CRC).
Return Value: None
Function Name: void si4455_start_rx(U8 CHANNEL, U8 CONDITION, U16 RX_LEN, U8 NEX- T_STATE1, U8 NEXT_STATE2, U8
NEXT_STATE3)
Description: Sends START_RX command to the radio.
Input Parameter(s): CHANNEL: Channel number.
CONDITION: Start RX condition.
RX_LEN: Payload length (exclude the PH generated CRC).
NEXT_STATE1: Next state when Preamble Timeout occurs.
NEXT_STATE2: Next state when a valid packet received.
NEXT_STATE3: Next state when invalid packet received (e.g., CRC error).
Return Value: None
Function Name: void si4455_get_int_status(U8 PH_CLR_PEND,U8 MODEM_CLR_PEND, U8 CHIP_CLR_PEND)
Description: Get the Interrupt status/pending flags form the radio and clear flags if requested.
Input Parameter(s): PH_CLR_PEND: Packet Handler pending flags clear.
MODEM_CLR_PEND: Modem Status pending flags clear.
CHIP_CLR_PEND: Chip State pending flags clear.
Return Value: None
Function Name: void si4455_write_tx_fifo(U8 numBytes, U8* pTxData)
Description: The function can be used to load data into TX FIFO.
Input Parameter(s): numBytes: Data length to beload.
pTxData: Pointer to the data (U8*).
AN954: Programming Guide for EFM8 and EZRadio ®
Application Programming Interface
silabs.com | Smart. Connected. Energy-friendly. Rev. 0.1 | 16

Related product manuals