Type Alias atsamd51j::sdhc0::psr::CARDDPL_R

source ·
pub type CARDDPL_R = BitReader<CARDDPLSELECT_A>;
Expand description

Field CARDDPL reader - Card Detect Pin Level

Aliased Type§

struct CARDDPL_R { /* private fields */ }

Implementations§

source§

impl CARDDPL_R

source

pub const fn variant(&self) -> CARDDPLSELECT_A

Get enumerated values variant

source

pub fn is_no(&self) -> bool

No card present (SDCD#=1)

source

pub fn is_yes(&self) -> bool

Card present (SDCD#=0)