pub struct W(/* private fields */);
Expand description
Register SMPR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn smp1(&mut self) -> SMP1_W<'_, 0>
pub fn smp1(&mut self) -> SMP1_W<'_, 0>
Bits 0:2 - Sampling time selection 1 These bits are written by software to select the sampling time that applies to all channels. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smp2(&mut self) -> SMP2_W<'_, 4>
pub fn smp2(&mut self) -> SMP2_W<'_, 4>
Bits 4:6 - Sampling time selection 2 These bits are written by software to select the sampling time that applies to all channels. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel0(&mut self) -> SMPSEL0_W<'_, 8>
pub fn smpsel0(&mut self) -> SMPSEL0_W<'_, 8>
Bit 8 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel1(&mut self) -> SMPSEL1_W<'_, 9>
pub fn smpsel1(&mut self) -> SMPSEL1_W<'_, 9>
Bit 9 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel2(&mut self) -> SMPSEL2_W<'_, 10>
pub fn smpsel2(&mut self) -> SMPSEL2_W<'_, 10>
Bit 10 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel3(&mut self) -> SMPSEL3_W<'_, 11>
pub fn smpsel3(&mut self) -> SMPSEL3_W<'_, 11>
Bit 11 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel4(&mut self) -> SMPSEL4_W<'_, 12>
pub fn smpsel4(&mut self) -> SMPSEL4_W<'_, 12>
Bit 12 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel5(&mut self) -> SMPSEL5_W<'_, 13>
pub fn smpsel5(&mut self) -> SMPSEL5_W<'_, 13>
Bit 13 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel6(&mut self) -> SMPSEL6_W<'_, 14>
pub fn smpsel6(&mut self) -> SMPSEL6_W<'_, 14>
Bit 14 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel7(&mut self) -> SMPSEL7_W<'_, 15>
pub fn smpsel7(&mut self) -> SMPSEL7_W<'_, 15>
Bit 15 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel8(&mut self) -> SMPSEL8_W<'_, 16>
pub fn smpsel8(&mut self) -> SMPSEL8_W<'_, 16>
Bit 16 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel9(&mut self) -> SMPSEL9_W<'_, 17>
pub fn smpsel9(&mut self) -> SMPSEL9_W<'_, 17>
Bit 17 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel10(&mut self) -> SMPSEL10_W<'_, 18>
pub fn smpsel10(&mut self) -> SMPSEL10_W<'_, 18>
Bit 18 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel11(&mut self) -> SMPSEL11_W<'_, 19>
pub fn smpsel11(&mut self) -> SMPSEL11_W<'_, 19>
Bit 19 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel12(&mut self) -> SMPSEL12_W<'_, 20>
pub fn smpsel12(&mut self) -> SMPSEL12_W<'_, 20>
Bit 20 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel13(&mut self) -> SMPSEL13_W<'_, 21>
pub fn smpsel13(&mut self) -> SMPSEL13_W<'_, 21>
Bit 21 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel14(&mut self) -> SMPSEL14_W<'_, 22>
pub fn smpsel14(&mut self) -> SMPSEL14_W<'_, 22>
Bit 22 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel15(&mut self) -> SMPSEL15_W<'_, 23>
pub fn smpsel15(&mut self) -> SMPSEL15_W<'_, 23>
Bit 23 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel16(&mut self) -> SMPSEL16_W<'_, 24>
pub fn smpsel16(&mut self) -> SMPSEL16_W<'_, 24>
Bit 24 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel17(&mut self) -> SMPSEL17_W<'_, 25>
pub fn smpsel17(&mut self) -> SMPSEL17_W<'_, 25>
Bit 25 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).
Sourcepub fn smpsel18(&mut self) -> SMPSEL18_W<'_, 26>
pub fn smpsel18(&mut self) -> SMPSEL18_W<'_, 26>
Bit 26 - Channel-x sampling time selection These bits are written by software to define which sampling time is used. Note: The software is allowed to write this bit only when ADSTARTÂ =Â 0 (which ensures that no conversion is ongoing).