Type Alias atsame54n::gmac::svlan::W

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

Register SVLAN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn vlan_type(&mut self) -> VLAN_TYPE_W<'_, SVLAN_SPEC, 0>

Bits 0:15 - User Defined VLAN_TYPE Field

source

pub fn esvlan(&mut self) -> ESVLAN_W<'_, SVLAN_SPEC, 31>

Bit 31 - Enable Stacked VLAN Processing Mode

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