Functions | |
void | BbStart (PalBbProt_t protId) |
Start BB processing of given protocol. More... | |
void | BbStop (PalBbProt_t protId) |
Stop BB processing of given protocol. More... | |
void | BbExecuteBod (BbOpDesc_t *pBod) |
Execute BOD. More... | |
void | BbCancelBod (void) |
Cancel current executing BOD. More... | |
BbOpDesc_t * | BbGetCurrentBod (void) |
Get the currently-executing BOD. More... | |
void | BbSetBodTerminateFlag (void) |
Set termination flag of current executing BOD. More... | |
bool_t | BbGetBodTerminateFlag (void) |
Get termination state of current executing BOD. More... | |
void | BbTerminateBod (void) |
Terminate a BOD immediately. More... | |
uint16_t | BbGetClockAccuracy (void) |
Get BB clock accuracy. More... | |
uint32_t | BbGetBbTimerBoundaryUs (void) |
Get BB timer boundary before wraparound. More... | |
uint16_t | BbGetSchSetupDelayUs (void) |
Get scheduler setup delay. More... | |
uint32_t | BbAdjustTime (uint32_t dueUsec) |
Adjust new time tick with wraparound. More... | |
uint32_t | BbGetTargetTimeDelta (uint32_t targetUsec, uint32_t refUsec) |
Get Delta between target and reference time. Only valid if target time is in the future. More... | |
uint8_t | BbGetActiveProtocol (void) |
Returns the ID of the active protocol. More... | |
uint32_t BbAdjustTime | ( | uint32_t | dueUsec | ) |
Adjust new time tick with wraparound.
dueUsec | Time tick without wraparound in microseconds. |
void BbCancelBod | ( | void | ) |
Cancel current executing BOD.
void BbExecuteBod | ( | BbOpDesc_t * | pBod | ) |
Execute BOD.
pBod | Pointer to the BOD to execute. |
Execute the protocol specific BOD handler.
uint8_t BbGetActiveProtocol | ( | void | ) |
Returns the ID of the active protocol.
uint32_t BbGetBbTimerBoundaryUs | ( | void | ) |
Get BB timer boundary before wraparound.
bool_t BbGetBodTerminateFlag | ( | void | ) |
Get termination state of current executing BOD.
uint16_t BbGetClockAccuracy | ( | void | ) |
Get BB clock accuracy.
Returns the current BB clock accuracy.
BbOpDesc_t* BbGetCurrentBod | ( | void | ) |
Get the currently-executing BOD.
uint16_t BbGetSchSetupDelayUs | ( | void | ) |
Get scheduler setup delay.
Returns the scheduler setup delay.
uint32_t BbGetTargetTimeDelta | ( | uint32_t | targetUsec, |
uint32_t | refUsec | ||
) |
Get Delta between target and reference time. Only valid if target time is in the future.
targetUsec | Target time in microseconds. |
refUsec | Reference time in microseconds. |
void BbSetBodTerminateFlag | ( | void | ) |
Set termination flag of current executing BOD.
void BbStart | ( | PalBbProt_t | protId | ) |
Start BB processing of given protocol.
protId | Protocol ID. |
Enable BB and start processing the list of BODs. This routine may be called several times, if a protocol layers has several simultaneously-enabled operations. However, BbStop() must be called an equal number of time to disable the baseband.
void BbStop | ( | PalBbProt_t | protId | ) |
void BbTerminateBod | ( | void | ) |
Terminate a BOD immediately.