|
Dawn Framework 1.0
Universal data acquisition framework for embedded systems
|
Global descriptor switch request manager. More...
#include <descswitch.hxx>
Static Public Member Functions | |
| static void | clear () |
| Clear pending switch request. | |
| static uint8_t | getActiveSlot () |
| Get currently active descriptor slot. | |
| static uint8_t | getSwitchSlot () |
| Get pending switch target slot. | |
| static bool | isSwitchRequested () |
| Check if descriptor switch is pending. | |
| static void | requestSwitch (uint8_t slot) |
| Request descriptor switch to a slot. | |
| static void | setActiveSlot (uint8_t slot) |
| Set currently active descriptor slot. | |
Global descriptor switch request manager.
Holds pending switch request and active slot state for runtime descriptor reload flow.
Definition at line 19 of file descswitch.hxx.
|
static |
Get currently active descriptor slot.
Definition at line 40 of file descswitch.cxx.
|
static |
Get pending switch target slot.
Definition at line 35 of file descswitch.cxx.
|
static |
Check if descriptor switch is pending.
Definition at line 30 of file descswitch.cxx.
|
static |
Request descriptor switch to a slot.
| slot | Target descriptor slot index. |
Definition at line 19 of file descswitch.cxx.
|
static |
Set currently active descriptor slot.
| slot | Active slot index. |
Definition at line 45 of file descswitch.cxx.