pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations§
source§impl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn maskp0(&mut self) -> _MASKP0W<'_>
pub fn maskp0(&mut self) -> _MASKP0W<'_>
Bit 0 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp1(&mut self) -> _MASKP1W<'_>
pub fn maskp1(&mut self) -> _MASKP1W<'_>
Bit 1 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp2(&mut self) -> _MASKP2W<'_>
pub fn maskp2(&mut self) -> _MASKP2W<'_>
Bit 2 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp3(&mut self) -> _MASKP3W<'_>
pub fn maskp3(&mut self) -> _MASKP3W<'_>
Bit 3 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp4(&mut self) -> _MASKP4W<'_>
pub fn maskp4(&mut self) -> _MASKP4W<'_>
Bit 4 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp5(&mut self) -> _MASKP5W<'_>
pub fn maskp5(&mut self) -> _MASKP5W<'_>
Bit 5 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp6(&mut self) -> _MASKP6W<'_>
pub fn maskp6(&mut self) -> _MASKP6W<'_>
Bit 6 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp7(&mut self) -> _MASKP7W<'_>
pub fn maskp7(&mut self) -> _MASKP7W<'_>
Bit 7 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp8(&mut self) -> _MASKP8W<'_>
pub fn maskp8(&mut self) -> _MASKP8W<'_>
Bit 8 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp9(&mut self) -> _MASKP9W<'_>
pub fn maskp9(&mut self) -> _MASKP9W<'_>
Bit 9 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp10(&mut self) -> _MASKP10W<'_>
pub fn maskp10(&mut self) -> _MASKP10W<'_>
Bit 10 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp11(&mut self) -> _MASKP11W<'_>
pub fn maskp11(&mut self) -> _MASKP11W<'_>
Bit 11 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp12(&mut self) -> _MASKP12W<'_>
pub fn maskp12(&mut self) -> _MASKP12W<'_>
Bit 12 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp13(&mut self) -> _MASKP13W<'_>
pub fn maskp13(&mut self) -> _MASKP13W<'_>
Bit 13 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp14(&mut self) -> _MASKP14W<'_>
pub fn maskp14(&mut self) -> _MASKP14W<'_>
Bit 14 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp15(&mut self) -> _MASKP15W<'_>
pub fn maskp15(&mut self) -> _MASKP15W<'_>
Bit 15 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp16(&mut self) -> _MASKP16W<'_>
pub fn maskp16(&mut self) -> _MASKP16W<'_>
Bit 16 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp17(&mut self) -> _MASKP17W<'_>
pub fn maskp17(&mut self) -> _MASKP17W<'_>
Bit 17 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp18(&mut self) -> _MASKP18W<'_>
pub fn maskp18(&mut self) -> _MASKP18W<'_>
Bit 18 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp19(&mut self) -> _MASKP19W<'_>
pub fn maskp19(&mut self) -> _MASKP19W<'_>
Bit 19 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp20(&mut self) -> _MASKP20W<'_>
pub fn maskp20(&mut self) -> _MASKP20W<'_>
Bit 20 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp21(&mut self) -> _MASKP21W<'_>
pub fn maskp21(&mut self) -> _MASKP21W<'_>
Bit 21 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp22(&mut self) -> _MASKP22W<'_>
pub fn maskp22(&mut self) -> _MASKP22W<'_>
Bit 22 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp23(&mut self) -> _MASKP23W<'_>
pub fn maskp23(&mut self) -> _MASKP23W<'_>
Bit 23 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp24(&mut self) -> _MASKP24W<'_>
pub fn maskp24(&mut self) -> _MASKP24W<'_>
Bit 24 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp25(&mut self) -> _MASKP25W<'_>
pub fn maskp25(&mut self) -> _MASKP25W<'_>
Bit 25 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp26(&mut self) -> _MASKP26W<'_>
pub fn maskp26(&mut self) -> _MASKP26W<'_>
Bit 26 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp27(&mut self) -> _MASKP27W<'_>
pub fn maskp27(&mut self) -> _MASKP27W<'_>
Bit 27 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp28(&mut self) -> _MASKP28W<'_>
pub fn maskp28(&mut self) -> _MASKP28W<'_>
Bit 28 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp29(&mut self) -> _MASKP29W<'_>
pub fn maskp29(&mut self) -> _MASKP29W<'_>
Bit 29 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp30(&mut self) -> _MASKP30W<'_>
pub fn maskp30(&mut self) -> _MASKP30W<'_>
Bit 30 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.
sourcepub fn maskp31(&mut self) -> _MASKP31W<'_>
pub fn maskp31(&mut self) -> _MASKP31W<'_>
Bit 31 - Controls which bits corresponding to P0/1_n are active in the P0/1 PIN register (bit 0 = P0/1_0, bit 1 = P0/1_1, …, bit 31 = P0/1_31). 0 = Read MPORT: pin state; write MPORT: load output bit. 1 = Read MPORT: 0; write MPORT: output bit not affected.