Struct stm32f103xx::gpioa::crl::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn mode0(&mut self) -> _MODE0W
[src]
Bits 0:1 - Port n.0 mode bits
pub fn cnf0(&mut self) -> _CNF0W
[src]
Bits 2:3 - Port n.0 configuration bits
pub fn mode1(&mut self) -> _MODE1W
[src]
Bits 4:5 - Port n.1 mode bits
pub fn cnf1(&mut self) -> _CNF1W
[src]
Bits 6:7 - Port n.1 configuration bits
pub fn mode2(&mut self) -> _MODE2W
[src]
Bits 8:9 - Port n.2 mode bits
pub fn cnf2(&mut self) -> _CNF2W
[src]
Bits 10:11 - Port n.2 configuration bits
pub fn mode3(&mut self) -> _MODE3W
[src]
Bits 12:13 - Port n.3 mode bits
pub fn cnf3(&mut self) -> _CNF3W
[src]
Bits 14:15 - Port n.3 configuration bits
pub fn mode4(&mut self) -> _MODE4W
[src]
Bits 16:17 - Port n.4 mode bits
pub fn cnf4(&mut self) -> _CNF4W
[src]
Bits 18:19 - Port n.4 configuration bits
pub fn mode5(&mut self) -> _MODE5W
[src]
Bits 20:21 - Port n.5 mode bits
pub fn cnf5(&mut self) -> _CNF5W
[src]
Bits 22:23 - Port n.5 configuration bits
pub fn mode6(&mut self) -> _MODE6W
[src]
Bits 24:25 - Port n.6 mode bits
pub fn cnf6(&mut self) -> _CNF6W
[src]
Bits 26:27 - Port n.6 configuration bits
pub fn mode7(&mut self) -> _MODE7W
[src]
Bits 28:29 - Port n.7 mode bits
pub fn cnf7(&mut self) -> _CNF7W
[src]
Bits 30:31 - Port n.7 configuration bits