[][src]Type Definition nuc1xx::gcr::gpd_mfp::R

type R = R<u32, GPD_MFP>;

Reader of register GPD_MFP

Methods

impl R[src]

pub fn gpd_mfp0(&self) -> GPD_MFP0_R[src]

Bit 0 - PD.0 Pin Function Selection (Medium Density Only) 1 = The SPI2 SS20 function is selected to the pin PD.0 0 = The GPIOD[0] is selected to the pin PD.0

pub fn gpd_mfp1(&self) -> GPD_MFP1_R[src]

Bit 1 - PD.1 Pin Function Selection For NUC100/NUC120/NUC130/NUC140 Medium Density 1 = The SPI2 SPICLK function is selected to the pin PD.1 0 = The GPIOD[1] is selected to the pin PD.1 For NUC100/NUC120/NUC130/NUC140 Low Density and NUC101 LQFP48 package Reserved For NUC101 QFN36 package 1 = The SPI0 SS01 function is selected to the pin PD.1 0 = The GPIOD[1] is selected to the pin PD.1

pub fn gpd_mfp2(&self) -> GPD_MFP2_R[src]

Bit 2 - PD.2 Pin Function Selection For NUC100/NUC120/NUC130/NUC140 Medium Density 1 = The SPI2 MISO0 (master input, slave output pin-0) function is selected to the pin PD.2 0 = The GPIOD[2] is selected to the pin PD.2 For NUC100/NUC120/NUC130/NUC140 Low Density and NUC101 LQFP48 package Reserved For NUC101 QFN36 package 1 = The SPI0 MISO1 (master input, slave output pin-1) function is selected to the pin PD.2 0 = The GPIOD[2] is selected to the pin PD.2

pub fn gpd_mfp3(&self) -> GPD_MFP3_R[src]

Bit 3 - PD.3 Pin Function Selection For NUC100/NUC120/NUC130/NUC140 Medium Density 1 = The SPI2 MOSI0 (master output, slave input pin-0) function is selected to the pin GPD3 0 = The GPIOD[3] is selected to the pin PD.3 For NUC100/NUC120/NUC130/NUC140 Low Density and NUC101 LQFP48 package Reserved For NUC101 QFN36 package 1 = The SPI0 MOSI1 (master output, slave input pin-1) function is selected to the pin PD.3 0 = The GPIOD[3] is selected to the pin PD.3

pub fn gpd_mfp4(&self) -> GPD_MFP4_R[src]

Bit 4 - PD.4 Pin Function Selection (Medium Density Only) 1 = The SPI2 MISO1 (master input, slave output pin-1) function is selected to the pin PD.4 0 = The GPIOD[4]is selected to the pin PD.4

pub fn gpd_mfp5(&self) -> GPD_MFP5_R[src]

Bit 5 - PD.5 Pin Function Selection (Medium Density Only) 1 = The SPI2 MOSI1 (master output, slave input pin-1) function is selected to the pin PD.5 0 = The GPIOD[5] is selected to the pin PD.5

pub fn gpd_mfp6(&self) -> GPD_MFP6_R[src]

Bit 6 - PD.6 Pin Function Selection (Medium Density Only) 1 = The CAN0 RX function is selected to the pin PD.6 0 = The GPIOD[6] is selected to the pin PD.6

pub fn gpd_mfp7(&self) -> GPD_MFP7_R[src]

Bit 7 - PD.7 Pin Function Selection (Medium Density Only) 1 = The CAN0 TX function is selected to the pin PD.7 0 = The GPIOD[7] is selected to the pin PD.7

pub fn gpd_mfp8(&self) -> GPD_MFP8_R[src]

Bit 8 - PD.8 Pin Function Selection (Medium Density Only) 1 = The SPI3 SS30 function is selected to the pin PD8 0 = The GPIOD[8] is selected to the pin PD8

pub fn gpd_mfp9(&self) -> GPD_MFP9_R[src]

Bit 9 - PD.9 Pin Function Selection (Medium Density Only) 1 = The SPI3 SPICLK function is selected to the pin PD.9 0 = The GPIOD-9 is selected to the pin PD.9

pub fn gpd_mfp10(&self) -> GPD_MFP10_R[src]

Bit 10 - PD.10 Pin Function Selection (Medium Density Only) 1 = The SPI3 MISO0 (master input, slave output pin-0) function is selected to the pin PD.10 0 = The GPIOD[10] is selected to the pin PD.10

pub fn gpd_mfp11(&self) -> GPD_MFP11_R[src]

Bit 11 - PD.11 Pin Function Selection (Medium Density Only) 1 = The SPI3 MOSI0 (master output, slave input pin-0) function is selected to the pin PD.11 0 = The GPIOD[11] is selected to the pin PD.11

pub fn gpd_mfp12(&self) -> GPD_MFP12_R[src]

Bit 12 - PD.12 Pin Function Selection (Medium Density Only) 1 = The SPI3 MISO1 (master input, slave output pin-1) function is selected to the pin PD.12 0 = The GPIOD[12] is selected to the pin PD.12

pub fn gpd_mfp13(&self) -> GPD_MFP13_R[src]

Bit 13 - PD.13 Pin Function Selection (Medium Density Only) 1 = The SPI3 MOSI1 (master output, slave input pin-1) function is selected to the pin PD.13 0 = The GPIOD[13] is selected to the pin PD.13

pub fn gpd_mfp14(&self) -> GPD_MFP14_R[src]

Bit 14 - PD.14 Pin Function Selection (Medium Density Only) 1 = The UART2 RXD function is selected to the pin PD.14 0 = The GPIOD[14] selected to the pin PD.14

pub fn gpd_mfp15(&self) -> GPD_MFP15_R[src]

Bit 15 - PD.15 Pin Function Selection (Medium Density Only) 1 = The UART2 TXD function is selected to the pin PD.15 0 = The GPIOD[15] selected to the pin PD.15

pub fn gpd_typen(&self) -> GPD_TYPEN_R[src]

Bits 16:31 - 1 = Enable GPIOD[15:0] I/O input Schmitt Trigger function 0 = Disable GPIOD[15:0] I/O input Schmitt Trigger function