Type Alias atsame51g::tcc0::patt::W

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

Register PATT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pge0(&mut self) -> PGE0_W<'_, PATT_SPEC, 0>

Bit 0 - Pattern Generator 0 Output Enable

source

pub fn pge1(&mut self) -> PGE1_W<'_, PATT_SPEC, 1>

Bit 1 - Pattern Generator 1 Output Enable

source

pub fn pge2(&mut self) -> PGE2_W<'_, PATT_SPEC, 2>

Bit 2 - Pattern Generator 2 Output Enable

source

pub fn pge3(&mut self) -> PGE3_W<'_, PATT_SPEC, 3>

Bit 3 - Pattern Generator 3 Output Enable

source

pub fn pge4(&mut self) -> PGE4_W<'_, PATT_SPEC, 4>

Bit 4 - Pattern Generator 4 Output Enable

source

pub fn pge5(&mut self) -> PGE5_W<'_, PATT_SPEC, 5>

Bit 5 - Pattern Generator 5 Output Enable

source

pub fn pge6(&mut self) -> PGE6_W<'_, PATT_SPEC, 6>

Bit 6 - Pattern Generator 6 Output Enable

source

pub fn pge7(&mut self) -> PGE7_W<'_, PATT_SPEC, 7>

Bit 7 - Pattern Generator 7 Output Enable

source

pub fn pgv0(&mut self) -> PGV0_W<'_, PATT_SPEC, 8>

Bit 8 - Pattern Generator 0 Output Value

source

pub fn pgv1(&mut self) -> PGV1_W<'_, PATT_SPEC, 9>

Bit 9 - Pattern Generator 1 Output Value

source

pub fn pgv2(&mut self) -> PGV2_W<'_, PATT_SPEC, 10>

Bit 10 - Pattern Generator 2 Output Value

source

pub fn pgv3(&mut self) -> PGV3_W<'_, PATT_SPEC, 11>

Bit 11 - Pattern Generator 3 Output Value

source

pub fn pgv4(&mut self) -> PGV4_W<'_, PATT_SPEC, 12>

Bit 12 - Pattern Generator 4 Output Value

source

pub fn pgv5(&mut self) -> PGV5_W<'_, PATT_SPEC, 13>

Bit 13 - Pattern Generator 5 Output Value

source

pub fn pgv6(&mut self) -> PGV6_W<'_, PATT_SPEC, 14>

Bit 14 - Pattern Generator 6 Output Value

source

pub fn pgv7(&mut self) -> PGV7_W<'_, PATT_SPEC, 15>

Bit 15 - Pattern Generator 7 Output Value

source

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual