Mistake on this page?
Report an issue in GitHub or email us
Functions
PAL_BB_CLOCK

Functions

uint32_t PalBbGetCurrentTime (void)
 Get the current BB clock value in microseconds. More...
 
uint8_t PalBbGetTimestamp (uint32_t *pTime)
 Get the current FRC time. More...
 
void PalBbRegisterProtIrq (uint8_t protId, bbDrvIrqCback_t timerCback, bbDrvIrqCback_t radioCback)
 Called to register a protocol's Radio and Timer IRQ callback functions. More...
 
void PalBbSetProtId (uint8_t protId)
 Set protocol ID. More...
 

Detailed Description

This section contains driver routines related to the BB clock.

Function Documentation

uint32_t PalBbGetCurrentTime ( void  )

Get the current BB clock value in microseconds.

Returns
Current BB clock value, units are microseconds.

This routine reads the current value from the BB clock and returns its value.

uint8_t PalBbGetTimestamp ( uint32_t *  pTime)

Get the current FRC time.

Parameters
pTimePointer to return the current time.
Returns
TRUE if time is valid, FALSE otherwise.

Get the current FRC time.

Note
FRC is limited to the same bit-width as the BB clock. Return value is available only when the BB is active.
void PalBbRegisterProtIrq ( uint8_t  protId,
bbDrvIrqCback_t  timerCback,
bbDrvIrqCback_t  radioCback 
)

Called to register a protocol's Radio and Timer IRQ callback functions.

Parameters
protIdProtocol ID.
timerCbackTimer IRQ callback.
radioCbackTimer IRQ callback.
void PalBbSetProtId ( uint8_t  protId)

Set protocol ID.

Parameters
protIdProtocol ID.
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.