[][src]Type Definition fomu_pac::lxspi::bitbang::R

type R = R<u8, BITBANG>;

Reader of register BITBANG

Methods

impl R[src]

pub fn mosi(&self) -> MOSI_R[src]

Bit 0 - MOSI output pin, valid whenever dir is 0.

pub fn clk(&self) -> CLK_R[src]

Bit 1 - Output value for SPI CLK line.

pub fn cs_n(&self) -> CS_N_R[src]

Bit 2 - Output value of SPI CSn line.

pub fn dir(&self) -> DIR_R[src]

Bit 3 - Dual/Quad SPI reuses pins SPI pin direction.