Type Alias atsame54n::gmac::tsl::W

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

Register TSL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tcs(&mut self) -> TCS_W<'_, TSL_SPEC, 0>

Bits 0:31 - Timer Count in Seconds

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual