Type Alias d1_pac::gpio::pe_drv1::PE_DRV_R

source ·
pub type PE_DRV_R = FieldReader<u8, PE_DRV_A>;
Expand description

Field pe_drv[8-15] reader - PE Multi_Driving Select

Aliased Type§

struct PE_DRV_R { /* private fields */ }

Implementations§

source§

impl PE_DRV_R

source

pub fn variant(&self) -> PE_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