Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Typedefs | Enumerations | Functions
PAL_BB_BLE_DATA

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...
 

Detailed Description

This section contains driver routines used for packet transmission.

Typedef Documentation

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.

Enumeration Type Documentation

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.

Function Documentation

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.

Parameters
pBufReceive data buffer.
lenLength 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.

Parameters
pBufReceive data buffer.
lenLength 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.

Parameters
pParamData 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.

Parameters
pOpParamOperations 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.

Parameters
descsArray of transmit buffer descriptors.
cntNumber 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.

Parameters
descsArray of transmit buffer descriptor.
cntNumber of descriptors.

If possible, the transmit will occur at the TIFS timing. If not possible, the callback status will indicate this.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.