Skip to main content

R

Type Alias R 

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

Register CTRL2 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn updhld(&self) -> UpdhldR

Bit 0 - Update Hold Registers

Source

pub fn updpos(&self) -> UpdposR

Bit 1 - Update Position Registers

Source

pub fn opmode(&self) -> OpmodeR

Bit 2 - Operation Mode Select

Source

pub fn ldmod(&self) -> LdmodR

Bit 3 - Buffered Register Load (Update) Mode Select

Source

pub fn revmod(&self) -> RevmodR

Bit 8 - Revolution Counter Modulus Enable

Source

pub fn outctl(&self) -> OutctlR

Bit 9 - Output Control

Source

pub fn pmen(&self) -> PmenR

Bit 10 - Period measurement function enable

Source

pub fn emip(&self) -> EmipR

Bit 11 - Enables/disables the position counter to be initialized by Index Event Edge Mark

Source

pub fn initpos(&self) -> InitposR

Bit 12 - Initial Position Register

Source

pub fn once(&self) -> OnceR

Bit 13 - Count Once

Source

pub fn cmode(&self) -> CmodeR

Bits 14:15 - Counting Mode