Struct max32630_svd::gpio::in_val_p2::R [−][src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u32
[src]
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn pin0(&self) -> PIN0R
[src]
pub fn pin0(&self) -> PIN0R
Bit 0 - P2.0 Input Value
pub fn pin1(&self) -> PIN1R
[src]
pub fn pin1(&self) -> PIN1R
Bit 1 - P2.1 Input Value
pub fn pin2(&self) -> PIN2R
[src]
pub fn pin2(&self) -> PIN2R
Bit 2 - P2.2 Input Value
pub fn pin3(&self) -> PIN3R
[src]
pub fn pin3(&self) -> PIN3R
Bit 3 - P2.3 Input Value
pub fn pin4(&self) -> PIN4R
[src]
pub fn pin4(&self) -> PIN4R
Bit 4 - P2.4 Input Value
pub fn pin5(&self) -> PIN5R
[src]
pub fn pin5(&self) -> PIN5R
Bit 5 - P2.5 Input Value
pub fn pin6(&self) -> PIN6R
[src]
pub fn pin6(&self) -> PIN6R
Bit 6 - P2.6 Input Value
pub fn pin7(&self) -> PIN7R
[src]
pub fn pin7(&self) -> PIN7R
Bit 7 - P2.7 Input Value