Data Structures | |
| struct | PalBbBleDataParam_t |
| BLE data transfer parameters. More... | |
| struct | PalBbBleOpParam_t |
| Operation parameters. More... | |
| struct | PalBbBleTxBufDesc_t |
| Transmit buffer descriptor. More... | |
Typedefs | |
| typedef void(* | PalBbBleTxIsr_t) (uint8_t status) |
| Transmit complete ISR callback signature. More... | |
| typedef void(* | PalBbBleRxIsr_t) (uint8_t status, int8_t rssi, uint32_t crc, uint32_t timestamp, uint8_t rxPhyOptions) |
| Receive complete ISR callback signature. More... | |
Enumerations |
Functions | |
| void | PalBbBleSetDataParams (const PalBbBleDataParam_t *pParam) |
| Set the data packet exchange parameters. More... | |
| void | PalBbBleSetOpParams (const PalBbBleOpParam_t *pOpParam) |
| Set the operation parameters. More... | |
| void | PalBbBleTxData (PalBbBleTxBufDesc_t descs[], uint8_t cnt) |
| Transmit a packet. More... | |
| void | PalBbBleTxTifsData (PalBbBleTxBufDesc_t descs[], uint8_t cnt) |
| Transmit packet at TIFS after the last packet received. More... | |
| void | PalBbBleRxData (uint8_t *pBuf, uint16_t len) |
| Receive packet. More... | |
| void | PalBbBleRxTifsData (uint8_t *pBuf, uint16_t len) |
| Receive packet at TIFS after the last packet transmitted. More... | |
| void | PalBbBleCancelTifs (void) |
| Cancel TIFS timer. More... | |
| void | PalBbBleCancelData (void) |
| Cancel a pending transmit or receive. More... | |
This section contains driver routines used for packet transmission.
| typedef void(* PalBbBleRxIsr_t) (uint8_t status, int8_t rssi, uint32_t crc, uint32_t timestamp, uint8_t rxPhyOptions) |
Receive complete ISR callback signature.
Definition at line 102 of file pal_bb_ble.h.
| typedef void(* PalBbBleTxIsr_t) (uint8_t status) |
Transmit complete ISR callback signature.
Definition at line 99 of file pal_bb_ble.h.
| enum PalBbIfsMode_t |
IFS modes.
| Enumerator | |
|---|---|
| PAL_BB_IFS_MODE_CLR |
Clear IFS (last packet). |
| PAL_BB_IFS_MODE_TOGGLE_TIFS |
Toggle operation with TIFS timing. |
| PAL_BB_IFS_MODE_SAME_ABS |
Same operation with absolute timing. |
Definition at line 105 of file pal_bb_ble.h.
| void PalBbBleCancelData | ( | void | ) |
Cancel a pending transmit or receive.
This stops any active radio operation. This routine is never called in the callback (i.e. ISR) context.
| void PalBbBleCancelTifs | ( | void | ) |
Cancel TIFS timer.
This stops any active TIFS timer operation. This routine is always called in the callback (i.e. ISR) context.
| void PalBbBleRxData | ( | uint8_t * | pBuf, |
| uint16_t | len | ||
| ) |
Receive packet.
| pBuf | Receive data buffer. |
| len | Length of data buffer. |
Set the first data buffer for the first packet of an alternating Rx-Tx data exchange cycle.
| void PalBbBleRxTifsData | ( | uint8_t * | pBuf, |
| uint16_t | len | ||
| ) |
Receive packet at TIFS after the last packet transmitted.
| pBuf | Receive data buffer. |
| len | Length of data buffer. |
If possible, the receive will occur on the TIFS timing. If not possible, the callback status will indicate this.
| void PalBbBleSetDataParams | ( | const PalBbBleDataParam_t * | pParam | ) |
Set the data packet exchange parameters.
| pParam | Data exchange parameters. |
Calling this routine will set parameters for all future transmit and receive operations until this routine is called again providing new parameters.
| void PalBbBleSetOpParams | ( | const PalBbBleOpParam_t * | pOpParam | ) |
Set the operation parameters.
| pOpParam | Operations parameters. |
Calling this routine will set parameters for the next transmit or receive operations.
| void PalBbBleTxData | ( | PalBbBleTxBufDesc_t | descs[], |
| uint8_t | cnt | ||
| ) |
Transmit a packet.
| descs | Array of transmit buffer descriptors. |
| cnt | Number of descriptors. |
Set the first data buffer for the first packet of an alternating Tx-Rx data exchange cycle.
| void PalBbBleTxTifsData | ( | PalBbBleTxBufDesc_t | descs[], |
| uint8_t | cnt | ||
| ) |
Transmit packet at TIFS after the last packet received.
| descs | Array of transmit buffer descriptor. |
| cnt | Number of descriptors. |
If possible, the transmit will occur at the TIFS timing. If not possible, the callback status will indicate this.