Type Alias R

Source
pub type R = R<CRLrs>;
Expand description

Register CRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn mode(&self, n: u8) -> MODE_R

Port n.(0-7) mode bits

`n` is number of field in register. `n == 0` corresponds to `MODE0` field.
Source

pub fn mode_iter(&self) -> impl Iterator<Item = MODE_R> + '_

Iterator for array of: Port n.(0-7) mode bits

Source

pub fn mode0(&self) -> MODE_R

Bits 0:1 - Port n.0 mode bits

Source

pub fn mode1(&self) -> MODE_R

Bits 4:5 - Port n.1 mode bits

Source

pub fn mode2(&self) -> MODE_R

Bits 8:9 - Port n.2 mode bits

Source

pub fn mode3(&self) -> MODE_R

Bits 12:13 - Port n.3 mode bits

Source

pub fn mode4(&self) -> MODE_R

Bits 16:17 - Port n.4 mode bits

Source

pub fn mode5(&self) -> MODE_R

Bits 20:21 - Port n.5 mode bits

Source

pub fn mode6(&self) -> MODE_R

Bits 24:25 - Port n.6 mode bits

Source

pub fn mode7(&self) -> MODE_R

Bits 28:29 - Port n.7 mode bits

Source

pub fn cnf(&self, n: u8) -> CNF_R

Port n.(0-7) configuration bits

`n` is number of field in register. `n == 0` corresponds to `CNF0` field.
Source

pub fn cnf_iter(&self) -> impl Iterator<Item = CNF_R> + '_

Iterator for array of: Port n.(0-7) configuration bits

Source

pub fn cnf0(&self) -> CNF_R

Bits 2:3 - Port n.0 configuration bits

Source

pub fn cnf1(&self) -> CNF_R

Bits 6:7 - Port n.1 configuration bits

Source

pub fn cnf2(&self) -> CNF_R

Bits 10:11 - Port n.2 configuration bits

Source

pub fn cnf3(&self) -> CNF_R

Bits 14:15 - Port n.3 configuration bits

Source

pub fn cnf4(&self) -> CNF_R

Bits 18:19 - Port n.4 configuration bits

Source

pub fn cnf5(&self) -> CNF_R

Bits 22:23 - Port n.5 configuration bits

Source

pub fn cnf6(&self) -> CNF_R

Bits 26:27 - Port n.6 configuration bits

Source

pub fn cnf7(&self) -> CNF_R

Bits 30:31 - Port n.7 configuration bits

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more