Type Alias NSSP_R

Source
pub type NSSP_R = BitReader<NSSP>;
Expand description

Field NSSP reader - NSS pulse management This bit is used in master mode only. it allows the SPI to generate an NSS pulse between two consecutive data when doing continuous transfers. In the case of a single data transfer, it forces the NSS pin high level after the transfer. It has no meaning if CPHA = ‘1’, or FRF = ‘1’. Note: 1. This bit must be written only when the SPI is disabled (SPE=0). 2. This bit is not used in I2S mode and SPI TI mode.

Aliased Type§

struct NSSP_R { /* private fields */ }

Implementations§

Source§

impl NSSP_R

Source

pub const fn variant(&self) -> NSSP

Get enumerated values variant

Source

pub fn is_no_pulse(&self) -> bool

No NSS pulse

Source

pub fn is_pulse_generated(&self) -> bool

NSS pulse generated