![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Macros | |
| #define | WSF_CS_STATS FALSE |
| Use CS statistics hooks. | |
| #define | WSF_CS_INIT(cs) |
| Initialize critical section. This macro may define a variable. More... | |
| #define | WSF_CS_ENTER(cs) WsfCsEnter() |
| Enter a critical section. More... | |
| #define | WSF_CS_EXIT(cs) WsfCsExit() |
| Exit a critical section. More... | |
Typedefs | |
| typedef bool_t(* | WsfCsTimestamp_t) (uint32_t *) |
| Timestamp call signature. | |
| typedef uint32_t(* | WsfCsTimebase_t) (uint32_t) |
| Timestamp delta and time base converter call signature. | |
Functions | |
| void | WsfCsStatsRegister (WsfCsTimestamp_t timestampCback, WsfCsTimebase_t timebaseCback) |
| Register critical section statistics hooks. More... | |
| void | WsfCsEnter (void) |
| Enter a critical section. More... | |
| void | WsfCsExit (void) |
| Enter a critical section. More... | |
Variables | |
| uint16_t | wsfCsStatsWatermarkUsec |
| Statistics global for watermark of critical sections. Value is in microseconds. | |
| #define WSF_CS_INIT | ( | cs | ) |
| #define WSF_CS_ENTER | ( | cs | ) | WsfCsEnter() |
| #define WSF_CS_EXIT | ( | cs | ) | WsfCsExit() |
| void WsfCsStatsRegister | ( | WsfCsTimestamp_t | timestampCback, |
| WsfCsTimebase_t | timebaseCback | ||
| ) |
Register critical section statistics hooks.
| timestampCback | Callback for obtaining the current timestamp. |
| timebaseCback | Callback for converting timestamp delta into microseconds. |
| void WsfCsEnter | ( | void | ) |
Enter a critical section.
| void WsfCsExit | ( | void | ) |
Enter a critical section.