Type Alias gd32e1::gd32e103::afio::ec::W

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

Register EC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pin(&mut self) -> PinW<'_, EcSpec>

Bits 0:3 - Event output pin selection

source

pub fn port(&mut self) -> PortW<'_, EcSpec>

Bits 4:6 - Event output port selection

source

pub fn eoe(&mut self) -> EoeW<'_, EcSpec>

Bit 7 - Event output enable