Type Alias xmc4800::sdmmc::present_state::WRITE_PROTECT_PIN_LEVEL_R

source ·
pub type WRITE_PROTECT_PIN_LEVEL_R = BitReader<WRITE_PROTECT_PIN_LEVEL_A>;
Expand description

Field WRITE_PROTECT_PIN_LEVEL reader - Write Protect Switch Pin Level

Aliased Type§

struct WRITE_PROTECT_PIN_LEVEL_R { /* private fields */ }

Implementations§

source§

impl WRITE_PROTECT_PIN_LEVEL_R

source

pub const fn variant(&self) -> WRITE_PROTECT_PIN_LEVEL_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Write protected (SDWP = 1)

source

pub fn is_value2(&self) -> bool

Write enabled (SDWP = 0)