[−][src]Module lpc55_hal::typestates::init_state
Encodes the state of peripherals: Unknown, Enabled, or Disabled.
The default state of peripherals is Unknown
, which is not
quite zero cost, but since we may have been jumped to from a
bootloader, we can't rely on reset state as per user manual.
The exception are peripherals which are "always on", such as Syscon
.
Structs
Disabled | Indicates that the hardware component is disabled |
Enabled | Indicates that the hardware component is enabled |
Unknown | Indicates that the state of the peripheral is not known |
Traits
InitState |