Struct SleepConfig
Defined in File sim_sleep.h
Nested Relationships
Nested Types
Struct Documentation
-
struct SleepConfig
Configuration structure for a generic sleep mode controller.
See also
AVR_SleepController
Public Members
-
std::vector<mode_config_t> modes
The supported sleep modes.
-
struct mode_config_t : public base_reg_config_t
Configuration structure for each supported sleep mode.
- Param reg_value:
the register field value for this sleep mode
- Param mode:
the SleepMode enum value corresponding to this sleep mode
- Param int_mask:
bitset that indicates for each interrupt vector of the device vector map if it can wake up the device from this sleep mode
-
std::vector<mode_config_t> modes