Type Definition atsam4lc8a_pac::catb::thresh::W[][src]

type W = W<u32, THRESH>;

Writer for register THRESH

Implementations

impl W[src]

pub fn fthresh(&mut self) -> FTHRESH_W<'_>[src]

Bits 0:11 - Fractional part of Threshold Value

pub fn rthresh(&mut self) -> RTHRESH_W<'_>[src]

Bits 12:19 - Rational part of Threshold Value

pub fn dir(&mut self) -> DIR_W<'_>[src]

Bit 23 - Threshold Direction

pub fn length(&mut self) -> LENGTH_W<'_>[src]

Bits 24:28 - Threshold Length