Struct zinc_hal_lpc11xx::ioregs::GPIO0_data_Get [] [src]

pub struct GPIO0_data_Get {
    // some fields omitted
}

DATA: Port n data register for pins PIOn_0 to PIOn_11

Methods

impl GPIO0_data_Get

fn new(reg: &GPIO0_data) -> GPIO0_data_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn data0(&self) -> bool

Get value of DATA0 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data1(&self) -> bool

Get value of DATA1 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data2(&self) -> bool

Get value of DATA2 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data3(&self) -> bool

Get value of DATA3 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data4(&self) -> bool

Get value of DATA4 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data5(&self) -> bool

Get value of DATA5 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data6(&self) -> bool

Get value of DATA6 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data7(&self) -> bool

Get value of DATA7 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data8(&self) -> bool

Get value of DATA8 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data9(&self) -> bool

Get value of DATA9 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data10(&self) -> bool

Get value of DATA10 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

fn data11(&self) -> bool

Get value of DATA11 field: Logic levels for pins PIOn_0 to PIOn_11. HIGH = 1, LOW = 0.

Trait Implementations

impl Copy for GPIO0_data_Get

Derived Implementations

impl Clone for GPIO0_data_Get

fn clone(&self) -> GPIO0_data_Get

fn clone_from(&mut self, source: &Self)