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... | |
This section contains driver routines related to the BB clock.
uint32_t PalBbGetCurrentTime | ( | void | ) |
Get the current BB clock value in 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.
pTime | Pointer to return the current time. |
Get the current FRC time.
void PalBbRegisterProtIrq | ( | uint8_t | protId, |
bbDrvIrqCback_t | timerCback, | ||
bbDrvIrqCback_t | radioCback | ||
) |
Called to register a protocol's Radio and Timer IRQ callback functions.
protId | Protocol ID. |
timerCback | Timer IRQ callback. |
radioCback | Timer IRQ callback. |
void PalBbSetProtId | ( | uint8_t | protId | ) |
Set protocol ID.
protId | Protocol ID. |