Type Definition atsam4lc4c_pac::spi::mr::PCSDEC_W
source · pub type PCSDEC_W<'a, const O: u8> = BitWriter<'a, u32, MR_SPEC, PCSDECSELECT_A, O>;
Expand description
Field PCSDEC
writer - Chip Select Decode
Implementations§
source§impl<'a, const O: u8> PCSDEC_W<'a, O>
impl<'a, const O: u8> PCSDEC_W<'a, O>
sourcepub fn _1(self) -> &'a mut W
pub fn _1(self) -> &'a mut W
The four chip select lines are connected to a 4- to 16-bit decoder.When PCSDEC equals one, up to 15 Chip Select signals can be generated with the four lines using an external 4- to 16-bitdecoder. The Chip Select Registers define the characteristics of the 16 chip selects according to the following rules:CSR0 defines peripheral chip select signals 0 to 3.CSR1 defines peripheral chip select signals 4 to 7.CSR2 defines peripheral chip select signals 8 to 11.CSR3 defines peripheral chip select signals 12 to 15.