Type Alias d1_pac::gpio::pg_drv0::PG_DRV_R

source ·
pub type PG_DRV_R = FieldReader<u8, PG_DRV_A>;
Expand description

Field pg_drv[0-7] reader - PG Multi_Driving Select

Aliased Type§

struct PG_DRV_R { /* private fields */ }

Implementations§

source§

impl PG_DRV_R

source

pub fn variant(&self) -> PG_DRV_A

Get enumerated values variant

source

pub fn is_l0(&self) -> bool

Checks if the value of the field is L0

source

pub fn is_l1(&self) -> bool

Checks if the value of the field is L1

source

pub fn is_l2(&self) -> bool

Checks if the value of the field is L2

source

pub fn is_l3(&self) -> bool

Checks if the value of the field is L3