Type Alias atsame54n::gmac::tn::W

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

Register TN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tns(&mut self) -> TNS_W<'_, TN_SPEC, 0>

Bits 0:29 - Timer Count in Nanoseconds

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