Type Alias xmc4500::usic0_ch0::ccr::HPCEN_W

source ·
pub type HPCEN_W<'a, REG> = FieldWriter<'a, REG, 2, HPCEN_A, Safe>;
Expand description

Field HPCEN writer - Hardware Port Control Enable

Aliased Type§

struct HPCEN_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> HPCEN_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

The hardware port control is disabled.

source

pub fn value2(self) -> &'a mut W<REG>

The hardware port control is enabled for DX0 and DOUT0.

source

pub fn value3(self) -> &'a mut W<REG>

The hardware port control is enabled for DX3, DX0 and DOUT[1:0].

source

pub fn value4(self) -> &'a mut W<REG>

The hardware port control is enabled for DX0, DX[5:3] and DOUT[3:0].