Type Alias rp2040_pac::adc::fcs::W
source · pub type W = W<FCS_SPEC>;
Expand description
Register FCS
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn en(&mut self) -> EN_W<'_, FCS_SPEC>
pub fn en(&mut self) -> EN_W<'_, FCS_SPEC>
Bit 0 - If 1: write result to the FIFO after each conversion.
sourcepub fn shift(&mut self) -> SHIFT_W<'_, FCS_SPEC>
pub fn shift(&mut self) -> SHIFT_W<'_, FCS_SPEC>
Bit 1 - If 1: FIFO results are right-shifted to be one byte in size. Enables DMA to byte buffers.
sourcepub fn err(&mut self) -> ERR_W<'_, FCS_SPEC>
pub fn err(&mut self) -> ERR_W<'_, FCS_SPEC>
Bit 2 - If 1: conversion error bit appears in the FIFO alongside the result
sourcepub fn dreq_en(&mut self) -> DREQ_EN_W<'_, FCS_SPEC>
pub fn dreq_en(&mut self) -> DREQ_EN_W<'_, FCS_SPEC>
Bit 3 - If 1: assert DMA requests when FIFO contains data
sourcepub fn under(&mut self) -> UNDER_W<'_, FCS_SPEC>
pub fn under(&mut self) -> UNDER_W<'_, FCS_SPEC>
Bit 10 - 1 if the FIFO has been underflowed. Write 1 to clear.
sourcepub fn over(&mut self) -> OVER_W<'_, FCS_SPEC>
pub fn over(&mut self) -> OVER_W<'_, FCS_SPEC>
Bit 11 - 1 if the FIFO has been overflowed. Write 1 to clear.