R

Type Alias R 

Source
pub type R = R<u32, BDTR>;
Expand description

Reader of register BDTR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn moe(&self) -> MOE_R

Bit 15 - Main output enable

Source

pub fn aoe(&self) -> AOE_R

Bit 14 - Automatic output enable

Source

pub fn bkp(&self) -> BKP_R

Bit 13 - Break polarity

Source

pub fn bke(&self) -> BKE_R

Bit 12 - Break enable

Source

pub fn ossr(&self) -> OSSR_R

Bit 11 - Off-state selection for Run mode

Source

pub fn ossi(&self) -> OSSI_R

Bit 10 - Off-state selection for Idle mode

Source

pub fn lock(&self) -> LOCK_R

Bits 8:9 - Lock configuration

Source

pub fn dtg(&self) -> DTG_R

Bits 0:7 - Dead-time generator setup