Type Definition atsam4sd32c_pac::dacc::mr::USER_SEL_R

source ·
pub type USER_SEL_R = FieldReader<u8, USER_SEL_A>;
Expand description

Field USER_SEL reader - User Channel Selection

Implementations§

source§

impl USER_SEL_R

source

pub fn variant(&self) -> Option<USER_SEL_A>

Get enumerated values variant

source

pub fn is_channel0(&self) -> bool

Checks if the value of the field is CHANNEL0

source

pub fn is_channel1(&self) -> bool

Checks if the value of the field is CHANNEL1