Struct SleepConfig

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.

regbit_t rb_mode

Register location for the sleep mode selection.

regbit_t rb_enable

Register location for the sleep enable bit.

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

Public Members

SleepMode mode
uint8_t int_mask[16]