Type Alias d1_pac::spi0::spi_gcr::EN_R

source ·
pub type EN_R = BitReader<EN_A>;
Expand description

Field en reader - SPI Module Enable Control

Aliased Type§

struct EN_R { /* private fields */ }

Implementations§

source§

impl EN_R

source

pub fn variant(&self) -> EN_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE