Type Alias atsame54n::gmac::tsh::W

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

Register TSH writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:15 - 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