[][src]Module lpc8xx_hal::swm

APIs for the switch matrix (SWM)

The entry point to this API is SWM. Please refer to SWM's documentation for additional information.

The switch matrix is described in the user manual, chapter 7.

Modules

pin_state

Contains types that indicate pin states

state

Contains types that indicate the state of fixed or movable functions

Structs

ACMP_I1

Represents a fixed function

ACMP_I2

Represents a fixed function

ACMP_I3

Represents a fixed function

ACMP_I4

Represents a fixed function

ACMP_O

Represents a movable function

ADC_0

Represents a fixed function

ADC_1

Represents a fixed function

ADC_2

Represents a fixed function

ADC_3

Represents a fixed function

ADC_4

Represents a fixed function

ADC_5

Represents a fixed function

ADC_6

Represents a fixed function

ADC_7

Represents a fixed function

ADC_8

Represents a fixed function

ADC_9

Represents a fixed function

ADC_10

Represents a fixed function

ADC_11

Represents a fixed function

Analog

Designates an SWM function as an analog function

CAPT_X0

Represents a fixed function

CAPT_X1

Represents a fixed function

CAPT_X2

Represents a fixed function

CAPT_X3

Represents a fixed function

CAPT_X4

Represents a fixed function

CAPT_X5

Represents a fixed function

CAPT_X6

Represents a fixed function

CAPT_X7

Represents a fixed function

CAPT_X8

Represents a fixed function

CAPT_YH

Represents a fixed function

CAPT_YL

Represents a fixed function

CLKIN

Represents a fixed function

CLKOUT

Represents a movable function

DACOUT0

Represents a fixed function

DACOUT1

Represents a fixed function

FixedFunctions

Provides access to all fixed functions

Function

A fixed or movable function that can be assigned to a pin

GPIO_INT_BMAT

Represents a movable function

Handle

Handle to the SWM peripheral

I2C0_SDA

Represents a fixed function

I2C0_SCL

Represents a fixed function

I2C1_SDA

Represents a movable function

I2C1_SCL

Represents a movable function

I2C2_SDA

Represents a movable function

I2C2_SCL

Represents a movable function

I2C3_SDA

Represents a movable function

I2C3_SCL

Represents a movable function

Input

Designates an SWM function as an input function

MovableFunctions

Provides access to all movable functions

Output

Designates an SWM function as an output function

PIO0_0

Identifies a specific pin

PIO0_1

Identifies a specific pin

PIO0_2

Identifies a specific pin

PIO0_3

Identifies a specific pin

PIO0_4

Identifies a specific pin

PIO0_5

Identifies a specific pin

PIO0_6

Identifies a specific pin

PIO0_7

Identifies a specific pin

PIO0_8

Identifies a specific pin

PIO0_9

Identifies a specific pin

PIO0_10

Identifies a specific pin

PIO0_11

Identifies a specific pin

PIO0_12

Identifies a specific pin

PIO0_13

Identifies a specific pin

PIO0_14

Identifies a specific pin

PIO0_15

Identifies a specific pin

PIO0_16

Identifies a specific pin

PIO0_17

Identifies a specific pin

PIO0_18

Identifies a specific pin

PIO0_19

Identifies a specific pin

PIO0_20

Identifies a specific pin

PIO0_21

Identifies a specific pin

PIO0_22

Identifies a specific pin

PIO0_23

Identifies a specific pin

PIO0_24

Identifies a specific pin

PIO0_25

Identifies a specific pin

PIO0_26

Identifies a specific pin

PIO0_27

Identifies a specific pin

PIO0_28

Identifies a specific pin

PIO0_29

Identifies a specific pin

PIO0_30

Identifies a specific pin

PIO0_31

Identifies a specific pin

PIO1_0

Identifies a specific pin

PIO1_1

Identifies a specific pin

PIO1_2

Identifies a specific pin

PIO1_3

Identifies a specific pin

PIO1_4

Identifies a specific pin

PIO1_5

Identifies a specific pin

PIO1_6

Identifies a specific pin

PIO1_7

Identifies a specific pin

PIO1_8

Identifies a specific pin

PIO1_9

Identifies a specific pin

PIO1_10

Identifies a specific pin

PIO1_11

Identifies a specific pin

PIO1_12

Identifies a specific pin

PIO1_13

Identifies a specific pin

PIO1_14

Identifies a specific pin

PIO1_15

Identifies a specific pin

PIO1_16

Identifies a specific pin

PIO1_17

Identifies a specific pin

PIO1_18

Identifies a specific pin

PIO1_19

Identifies a specific pin

PIO1_20

Identifies a specific pin

PIO1_21

Identifies a specific pin

Parts

The main API for the switch matrix (SWM)

Pin

Main API to control for controlling pins

Pins

Provides access to all pins

RESETN

Represents a fixed function

SCT_OUT0

Represents a movable function

SCT_OUT1

Represents a movable function

SCT_OUT2

Represents a movable function

SCT_OUT3

Represents a movable function

SCT_OUT4

Represents a movable function

SCT_OUT5

Represents a movable function

SCT_OUT6

Represents a movable function

SCT_PIN0

Represents a movable function

SCT_PIN1

Represents a movable function

SCT_PIN2

Represents a movable function

SCT_PIN3

Represents a movable function

SPI0_SCK

Represents a movable function

SPI0_MOSI

Represents a movable function

SPI0_MISO

Represents a movable function

SPI1_SCK

Represents a movable function

SPI1_MOSI

Represents a movable function

SPI1_MISO

Represents a movable function

SPI0_SSEL0

Represents a movable function

SPI0_SSEL1

Represents a movable function

SPI0_SSEL2

Represents a movable function

SPI0_SSEL3

Represents a movable function

SPI1_SSEL0

Represents a movable function

SPI1_SSEL1

Represents a movable function

SWCLK

Represents a fixed function

SWDIO

Represents a fixed function

SWM

Entry point to the switch matrix (SWM) API

T0_CAP0

Represents a movable function

T0_CAP1

Represents a movable function

T0_CAP2

Represents a movable function

T0_MAT0

Represents a movable function

T0_MAT1

Represents a movable function

T0_MAT2

Represents a movable function

T0_MAT3

Represents a movable function

U0_TXD

Represents a movable function

U0_RXD

Represents a movable function

U0_RTS

Represents a movable function

U0_CTS

Represents a movable function

U0_SCLK

Represents a movable function

U1_TXD

Represents a movable function

U1_RXD

Represents a movable function

U1_RTS

Represents a movable function

U1_CTS

Represents a movable function

U1_SCLK

Represents a movable function

U2_TXD

Represents a movable function

U2_RXD

Represents a movable function

U2_RTS

Represents a movable function

U2_CTS

Represents a movable function

U2_SCLK

Represents a movable function

UART3_TXD

Represents a movable function

UART3_RXD

Represents a movable function

UART3_SCLK

Represents a movable function

UART4_TXD

Represents a movable function

UART4_RXD

Represents a movable function

UART4_SCLK

Represents a movable function

VDDCMP

Represents a fixed function

XTALIN

Represents a fixed function

XTALOUT

Represents a fixed function

Traits

AssignFunction

Internal trait used to assign functions to pins

FunctionKind

Implemented for types that designate whether a function is input or output

FunctionTrait

Implemented for all fixed and movable functions

PinTrait

Implemented by types that identify pins

UnassignFunction

Internal trait used to unassign functions from pins