Type Definition atsam4n8a_pac::adc::emr::OSR_W

source ·
pub type OSR_W<'a, const O: u8> = FieldWriter<'a, u32, EMR_SPEC, u8, OSR_A, 2, O>;
Expand description

Field OSR writer - Over Sampling Rate

Implementations§

source§

impl<'a, const O: u8> OSR_W<'a, O>

source

pub fn no_average(self) -> &'a mut W

no averaging. ADC sample rate is maximum.

source

pub fn osr4(self) -> &'a mut W

1-bit enhanced resolution by interpolation. ADC sample rate divided by 4.

source

pub fn osr16(self) -> &'a mut W

2-bit enhanced resolution by interpolation. ADC sample rate divided by 16.