Struct lpc55_pac::adc0::verid::CSW_R [−][src]
pub struct CSW_R(_);
Field CSW
reader - Channel Scale Width
Implementations
impl CSW_R
[src]
impl CSW_R
[src]pub fn variant(&self) -> Option<CSW_A>
[src]
Get enumerated values variant
pub fn is_csw_0(&self) -> bool
[src]
Checks if the value of the field is CSW_0
pub fn is_csw_1(&self) -> bool
[src]
Checks if the value of the field is CSW_1
pub fn is_csw_6(&self) -> bool
[src]
Checks if the value of the field is CSW_6
Methods from Deref<Target = FieldReader<u8, CSW_A>>
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits.
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1).