Type Alias xmc4300::scu_general::dtscon::W

source ·
pub type W = W<DtsconSpec>;
Expand description

Register DTSCON writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pwd(&mut self) -> PwdW<'_, DtsconSpec>

Bit 0 - Sensor Power Down

source

pub fn start(&mut self) -> StartW<'_, DtsconSpec>

Bit 1 - Sensor Measurement Start

source

pub fn offset(&mut self) -> OffsetW<'_, DtsconSpec>

Bits 4:10 - Offset Calibration Value

source

pub fn gain(&mut self) -> GainW<'_, DtsconSpec>

Bits 11:16 - Gain Calibration Value

source

pub fn reftrim(&mut self) -> ReftrimW<'_, DtsconSpec>

Bits 17:19 - Reference Trim Calibration Value

source

pub fn bgtrim(&mut self) -> BgtrimW<'_, DtsconSpec>

Bits 20:23 - Bandgap Trim Calibration Value