Type Alias atsamd51j::tcc0::drvctrl::W

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

Register DRVCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn nre0(&mut self) -> NRE0_W<'_, DRVCTRL_SPEC, 0>

Bit 0 - Non-Recoverable State 0 Output Enable

source

pub fn nre1(&mut self) -> NRE1_W<'_, DRVCTRL_SPEC, 1>

Bit 1 - Non-Recoverable State 1 Output Enable

source

pub fn nre2(&mut self) -> NRE2_W<'_, DRVCTRL_SPEC, 2>

Bit 2 - Non-Recoverable State 2 Output Enable

source

pub fn nre3(&mut self) -> NRE3_W<'_, DRVCTRL_SPEC, 3>

Bit 3 - Non-Recoverable State 3 Output Enable

source

pub fn nre4(&mut self) -> NRE4_W<'_, DRVCTRL_SPEC, 4>

Bit 4 - Non-Recoverable State 4 Output Enable

source

pub fn nre5(&mut self) -> NRE5_W<'_, DRVCTRL_SPEC, 5>

Bit 5 - Non-Recoverable State 5 Output Enable

source

pub fn nre6(&mut self) -> NRE6_W<'_, DRVCTRL_SPEC, 6>

Bit 6 - Non-Recoverable State 6 Output Enable

source

pub fn nre7(&mut self) -> NRE7_W<'_, DRVCTRL_SPEC, 7>

Bit 7 - Non-Recoverable State 7 Output Enable

source

pub fn nrv0(&mut self) -> NRV0_W<'_, DRVCTRL_SPEC, 8>

Bit 8 - Non-Recoverable State 0 Output Value

source

pub fn nrv1(&mut self) -> NRV1_W<'_, DRVCTRL_SPEC, 9>

Bit 9 - Non-Recoverable State 1 Output Value

source

pub fn nrv2(&mut self) -> NRV2_W<'_, DRVCTRL_SPEC, 10>

Bit 10 - Non-Recoverable State 2 Output Value

source

pub fn nrv3(&mut self) -> NRV3_W<'_, DRVCTRL_SPEC, 11>

Bit 11 - Non-Recoverable State 3 Output Value

source

pub fn nrv4(&mut self) -> NRV4_W<'_, DRVCTRL_SPEC, 12>

Bit 12 - Non-Recoverable State 4 Output Value

source

pub fn nrv5(&mut self) -> NRV5_W<'_, DRVCTRL_SPEC, 13>

Bit 13 - Non-Recoverable State 5 Output Value

source

pub fn nrv6(&mut self) -> NRV6_W<'_, DRVCTRL_SPEC, 14>

Bit 14 - Non-Recoverable State 6 Output Value

source

pub fn nrv7(&mut self) -> NRV7_W<'_, DRVCTRL_SPEC, 15>

Bit 15 - Non-Recoverable State 7 Output Value

source

pub fn inven0(&mut self) -> INVEN0_W<'_, DRVCTRL_SPEC, 16>

Bit 16 - Output Waveform 0 Inversion

source

pub fn inven1(&mut self) -> INVEN1_W<'_, DRVCTRL_SPEC, 17>

Bit 17 - Output Waveform 1 Inversion

source

pub fn inven2(&mut self) -> INVEN2_W<'_, DRVCTRL_SPEC, 18>

Bit 18 - Output Waveform 2 Inversion

source

pub fn inven3(&mut self) -> INVEN3_W<'_, DRVCTRL_SPEC, 19>

Bit 19 - Output Waveform 3 Inversion

source

pub fn inven4(&mut self) -> INVEN4_W<'_, DRVCTRL_SPEC, 20>

Bit 20 - Output Waveform 4 Inversion

source

pub fn inven5(&mut self) -> INVEN5_W<'_, DRVCTRL_SPEC, 21>

Bit 21 - Output Waveform 5 Inversion

source

pub fn inven6(&mut self) -> INVEN6_W<'_, DRVCTRL_SPEC, 22>

Bit 22 - Output Waveform 6 Inversion

source

pub fn inven7(&mut self) -> INVEN7_W<'_, DRVCTRL_SPEC, 23>

Bit 23 - Output Waveform 7 Inversion

source

pub fn filterval0(&mut self) -> FILTERVAL0_W<'_, DRVCTRL_SPEC, 24>

Bits 24:27 - Non-Recoverable Fault Input 0 Filter Value

source

pub fn filterval1(&mut self) -> FILTERVAL1_W<'_, DRVCTRL_SPEC, 28>

Bits 28:31 - Non-Recoverable Fault Input 1 Filter Value

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