Struct qn908x_rs::syscon::pio_cfg_misc::_PB02_MODEW
[−]
[src]
pub struct _PB02_MODEW<'a> { /* fields omitted */ }
Proxy
Methods
impl<'a> _PB02_MODEW<'a>
[src]
pub fn variant(self, variant: PB02_MODEW) -> &'a mut W
[src]
Writes variant
to the field
pub fn boot_mode(self) -> &'a mut W
[src]
PB02 is used as chip mode input
pub fn antenna(self) -> &'a mut W
[src]
PB02 is used as antena output
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field