Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
 4.2.0-rc3
mspm0-pinctrl.h File Reference

Go to the source code of this file.

Macros

#define MSP_PORT_INDEX_BY_NAME(x)
#define MSPM0_PIN_FUNCTION_ANALOG   (0x00000000)
#define MSPM0_PIN_FUNCTION_GPIO   (0x00000001)
#define MSPM0_PIN_FUNCTION_2   (0x00000002)
#define MSPM0_PIN_FUNCTION_3   (0x00000003)
#define MSPM0_PIN_FUNCTION_4   (0x00000004)
#define MSPM0_PIN_FUNCTION_5   (0x00000005)
#define MSPM0_PIN_FUNCTION_6   (0x00000006)
#define MSPM0_PIN_FUNCTION_7   (0x00000007)
#define MSPM0_PIN_FUNCTION_8   (0x00000008)
#define MSPM0_PIN_FUNCTION_9   (0x00000009)
#define MSPM0_PIN_FUNCTION_10   (0x0000000A)
#define MSP_PINMUX(pincm, function)

Macro Definition Documentation

◆ MSP_PINMUX

#define MSP_PINMUX ( pincm,
function )
Value:
(((pincm - 1) << 0x10) | function)

◆ MSP_PORT_INDEX_BY_NAME

#define MSP_PORT_INDEX_BY_NAME ( x)
Value:
((x == "PORTA") ? 0 : 1)

◆ MSPM0_PIN_FUNCTION_10

#define MSPM0_PIN_FUNCTION_10   (0x0000000A)

◆ MSPM0_PIN_FUNCTION_2

#define MSPM0_PIN_FUNCTION_2   (0x00000002)

◆ MSPM0_PIN_FUNCTION_3

#define MSPM0_PIN_FUNCTION_3   (0x00000003)

◆ MSPM0_PIN_FUNCTION_4

#define MSPM0_PIN_FUNCTION_4   (0x00000004)

◆ MSPM0_PIN_FUNCTION_5

#define MSPM0_PIN_FUNCTION_5   (0x00000005)

◆ MSPM0_PIN_FUNCTION_6

#define MSPM0_PIN_FUNCTION_6   (0x00000006)

◆ MSPM0_PIN_FUNCTION_7

#define MSPM0_PIN_FUNCTION_7   (0x00000007)

◆ MSPM0_PIN_FUNCTION_8

#define MSPM0_PIN_FUNCTION_8   (0x00000008)

◆ MSPM0_PIN_FUNCTION_9

#define MSPM0_PIN_FUNCTION_9   (0x00000009)

◆ MSPM0_PIN_FUNCTION_ANALOG

#define MSPM0_PIN_FUNCTION_ANALOG   (0x00000000)

◆ MSPM0_PIN_FUNCTION_GPIO

#define MSPM0_PIN_FUNCTION_GPIO   (0x00000001)