Type Alias atsamd51p::sercom0::usart_int::ctrla::CPOL_W

source ·
pub type CPOL_W<'a, REG, const O: u8> = BitWriter<'a, REG, O, CPOLSELECT_A>;
Expand description

Field CPOL writer - Clock Polarity

Aliased Type§

struct CPOL_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> CPOL_W<'a, REG, O>
where REG: Writable + RegisterSpec,

source

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

TxD Change:- Rising XCK edge, RxD Sample:- Falling XCK edge

source

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

TxD Change:- Falling XCK edge, RxD Sample:- Rising XCK edge