[][src]Type Definition lpc845_pac::swm0::pinassign4::W

type W = W<u32, PINASSIGN4>;

Writer for register PINASSIGN4

Methods

impl W[src]

pub fn spi0_mosi_io(&mut self) -> SPI0_MOSI_IO_W[src]

Bits 0:7 - SPI0_MOSI function assignment. The value is the pin number to be assigned to this function. The following pins are available: PIO0_0 (= 0) to PIO0_31 (= 0x1F) and from PIO1_0 (=0x20) to PIO1_21(=0x35).

pub fn spi0_miso_io(&mut self) -> SPI0_MISO_IO_W[src]

Bits 8:15 - SPI0_MISIO function assignment. The value is the pin number to be assigned to this function. The following pins are available: PIO0_0 (= 0) to PIO0_31 (= 0x1F) and from PIO1_0 (=0x20) to PIO1_21(=0x35).

pub fn spi0_ssel0_io(&mut self) -> SPI0_SSEL0_IO_W[src]

Bits 16:23 - SPI0_SSEL0 function assignment. The value is the pin number to be assigned to this function. The following pins are available: PIO0_0 (= 0) to PIO0_31 (= 0x1F) and from PIO1_0 (=0x20) to PIO1_21(=0x35).

pub fn spi0_ssel1_io(&mut self) -> SPI0_SSEL1_IO_W[src]

Bits 24:31 - SPI0_SSEL1 function assignment. The value is the pin number to be assigned to this function. The following pins are available: PIO0_0 (= 0) to PIO0_31 (= 0x1F) and from PIO1_0 (=0x20) to PIO1_21(=0x35).