Type Alias atsame54p::pcc::idr::W

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

Register IDR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn drdy(&mut self) -> DRDY_W<'_, IDR_SPEC, 0>

Bit 0 - Data Ready Interrupt Disable

source

pub fn ovre(&mut self) -> OVRE_W<'_, IDR_SPEC, 1>

Bit 1 - Overrun Error Interrupt Disable

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