Struct lpc55_pac::adc0::cfg::TPRICTRL_W [−][src]
pub struct TPRICTRL_W<'a> { /* fields omitted */ }
Field TPRICTRL
writer - ADC trigger priority control
Implementations
impl<'a> TPRICTRL_W<'a>
[src]
impl<'a> TPRICTRL_W<'a>
[src]pub fn variant(self, variant: TPRICTRL_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn tprictrl_0(self) -> &'a mut W
[src]
If a higher priority trigger is detected during command processing, the current conversion is aborted and the new command specified by the trigger is started.
pub fn tprictrl_1(self) -> &'a mut W
[src]
If a higher priority trigger is received during command processing, the current command is stopped after after completing the current conversion. If averaging is enabled, the averaging loop will be completed. However, CMDHa[LOOP] will be ignored and the higher priority trigger will be serviced.
pub fn tprictrl_2(self) -> &'a mut W
[src]
If a higher priority trigger is received during command processing, the current command will be completed (averaging, looping, compare) before servicing the higher priority trigger.
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field