pub struct R { /* private fields */ }
Expand description
Value read from the register
Implementations§
source§impl R
impl R
sourcepub fn mportp0(&self) -> MPORTP0R
pub fn mportp0(&self) -> MPORTP0R
Bit 0 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp1(&self) -> MPORTP1R
pub fn mportp1(&self) -> MPORTP1R
Bit 1 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp2(&self) -> MPORTP2R
pub fn mportp2(&self) -> MPORTP2R
Bit 2 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp3(&self) -> MPORTP3R
pub fn mportp3(&self) -> MPORTP3R
Bit 3 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp4(&self) -> MPORTP4R
pub fn mportp4(&self) -> MPORTP4R
Bit 4 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp5(&self) -> MPORTP5R
pub fn mportp5(&self) -> MPORTP5R
Bit 5 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp6(&self) -> MPORTP6R
pub fn mportp6(&self) -> MPORTP6R
Bit 6 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp7(&self) -> MPORTP7R
pub fn mportp7(&self) -> MPORTP7R
Bit 7 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp8(&self) -> MPORTP8R
pub fn mportp8(&self) -> MPORTP8R
Bit 8 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp9(&self) -> MPORTP9R
pub fn mportp9(&self) -> MPORTP9R
Bit 9 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp10(&self) -> MPORTP10R
pub fn mportp10(&self) -> MPORTP10R
Bit 10 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp11(&self) -> MPORTP11R
pub fn mportp11(&self) -> MPORTP11R
Bit 11 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp12(&self) -> MPORTP12R
pub fn mportp12(&self) -> MPORTP12R
Bit 12 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp13(&self) -> MPORTP13R
pub fn mportp13(&self) -> MPORTP13R
Bit 13 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp14(&self) -> MPORTP14R
pub fn mportp14(&self) -> MPORTP14R
Bit 14 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp15(&self) -> MPORTP15R
pub fn mportp15(&self) -> MPORTP15R
Bit 15 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp16(&self) -> MPORTP16R
pub fn mportp16(&self) -> MPORTP16R
Bit 16 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp17(&self) -> MPORTP17R
pub fn mportp17(&self) -> MPORTP17R
Bit 17 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp18(&self) -> MPORTP18R
pub fn mportp18(&self) -> MPORTP18R
Bit 18 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp19(&self) -> MPORTP19R
pub fn mportp19(&self) -> MPORTP19R
Bit 19 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp20(&self) -> MPORTP20R
pub fn mportp20(&self) -> MPORTP20R
Bit 20 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp21(&self) -> MPORTP21R
pub fn mportp21(&self) -> MPORTP21R
Bit 21 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp22(&self) -> MPORTP22R
pub fn mportp22(&self) -> MPORTP22R
Bit 22 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp23(&self) -> MPORTP23R
pub fn mportp23(&self) -> MPORTP23R
Bit 23 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp24(&self) -> MPORTP24R
pub fn mportp24(&self) -> MPORTP24R
Bit 24 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp25(&self) -> MPORTP25R
pub fn mportp25(&self) -> MPORTP25R
Bit 25 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp26(&self) -> MPORTP26R
pub fn mportp26(&self) -> MPORTP26R
Bit 26 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp27(&self) -> MPORTP27R
pub fn mportp27(&self) -> MPORTP27R
Bit 27 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp28(&self) -> MPORTP28R
pub fn mportp28(&self) -> MPORTP28R
Bit 28 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp29(&self) -> MPORTP29R
pub fn mportp29(&self) -> MPORTP29R
Bit 29 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp30(&self) -> MPORTP30R
pub fn mportp30(&self) -> MPORTP30R
Bit 30 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.
sourcepub fn mportp31(&self) -> MPORTP31R
pub fn mportp31(&self) -> MPORTP31R
Bit 31 - Masked port register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read: pin is LOW and/or the corresponding bit in the MASK register is 1; write: clear output bit if the corresponding bit in the MASK register is 0. 1 = Read: pin is HIGH and the corresponding bit in the MASK register is 0; write: set output bit if the corresponding bit in the MASK register is 0.