Type Alias atsamd21j::usb::host::padcal::W

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

Register PADCAL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn transp(&mut self) -> TRANSP_W<'_, PADCAL_SPEC, 0>

Bits 0:4 - USB Pad Transp calibration

source

pub fn transn(&mut self) -> TRANSN_W<'_, PADCAL_SPEC, 6>

Bits 6:10 - USB Pad Transn calibration

source

pub fn trim(&mut self) -> TRIM_W<'_, PADCAL_SPEC, 12>

Bits 12:14 - USB Pad Trim calibration

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual