uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PINSEL Public Macros

Macros

#define PINSEL_PORT_0   ((0))
 
#define PINSEL_PORT_1   ((1))
 
#define PINSEL_PORT_2   ((2))
 
#define PINSEL_PORT_3   ((3))
 
#define PINSEL_PORT_4   ((4))
 
#define PINSEL_FUNC_0   ((0))
 
#define PINSEL_FUNC_1   ((1))
 
#define PINSEL_FUNC_2   ((2))
 
#define PINSEL_FUNC_3   ((3))
 
#define PINSEL_PIN_0   ((0))
 
#define PINSEL_PIN_1   ((1))
 
#define PINSEL_PIN_2   ((2))
 
#define PINSEL_PIN_3   ((3))
 
#define PINSEL_PIN_4   ((4))
 
#define PINSEL_PIN_5   ((5))
 
#define PINSEL_PIN_6   ((6))
 
#define PINSEL_PIN_7   ((7))
 
#define PINSEL_PIN_8   ((8))
 
#define PINSEL_PIN_9   ((9))
 
#define PINSEL_PIN_10   ((10))
 
#define PINSEL_PIN_11   ((11))
 
#define PINSEL_PIN_12   ((12))
 
#define PINSEL_PIN_13   ((13))
 
#define PINSEL_PIN_14   ((14))
 
#define PINSEL_PIN_15   ((15))
 
#define PINSEL_PIN_16   ((16))
 
#define PINSEL_PIN_17   ((17))
 
#define PINSEL_PIN_18   ((18))
 
#define PINSEL_PIN_19   ((19))
 
#define PINSEL_PIN_20   ((20))
 
#define PINSEL_PIN_21   ((21))
 
#define PINSEL_PIN_22   ((22))
 
#define PINSEL_PIN_23   ((23))
 
#define PINSEL_PIN_24   ((24))
 
#define PINSEL_PIN_25   ((25))
 
#define PINSEL_PIN_26   ((26))
 
#define PINSEL_PIN_27   ((27))
 
#define PINSEL_PIN_28   ((28))
 
#define PINSEL_PIN_29   ((29))
 
#define PINSEL_PIN_30   ((30))
 
#define PINSEL_PIN_31   ((31))
 
#define PINSEL_PINMODE_PULLUP   ((0))
 
#define PINSEL_PINMODE_TRISTATE   ((2))
 
#define PINSEL_PINMODE_PULLDOWN   ((3))
 
#define PINSEL_PINMODE_NORMAL   ((0))
 
#define PINSEL_PINMODE_OPENDRAIN   ((1))
 
#define PINSEL_I2C_Normal_Mode   ((0))
 
#define PINSEL_I2C_Fast_Mode   ((1))
 

Detailed Description

Macro Definition Documentation

#define PINSEL_FUNC_0   ((0))

default function

Definition at line 56 of file lpc17xx_pinsel.h.

#define PINSEL_FUNC_1   ((1))

first alternate function

Definition at line 57 of file lpc17xx_pinsel.h.

#define PINSEL_FUNC_2   ((2))

second alternate function

Definition at line 58 of file lpc17xx_pinsel.h.

#define PINSEL_FUNC_3   ((3))

third or reserved alternate function

Definition at line 59 of file lpc17xx_pinsel.h.

#define PINSEL_I2C_Fast_Mode   ((1))

Fast Mode Plus drive mode

Definition at line 114 of file lpc17xx_pinsel.h.

#define PINSEL_I2C_Normal_Mode   ((0))

The standard drive mode

Definition at line 113 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_0   ((0))

Pin 0

Definition at line 64 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_1   ((1))

Pin 1

Definition at line 65 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_10   ((10))

Pin 10

Definition at line 74 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_11   ((11))

Pin 11

Definition at line 75 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_12   ((12))

Pin 12

Definition at line 76 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_13   ((13))

Pin 13

Definition at line 77 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_14   ((14))

Pin 14

Definition at line 78 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_15   ((15))

Pin 15

Definition at line 79 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_16   ((16))

Pin 16

Definition at line 80 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_17   ((17))

Pin 17

Definition at line 81 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_18   ((18))

Pin 18

Definition at line 82 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_19   ((19))

Pin 19

Definition at line 83 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_2   ((2))

Pin 2

Definition at line 66 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_20   ((20))

Pin 20

Definition at line 84 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_21   ((21))

Pin 21

Definition at line 85 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_22   ((22))

Pin 22

Definition at line 86 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_23   ((23))

Pin 23

Definition at line 87 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_24   ((24))

Pin 24

Definition at line 88 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_25   ((25))

Pin 25

Definition at line 89 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_26   ((26))

Pin 26

Definition at line 90 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_27   ((27))

Pin 27

Definition at line 91 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_28   ((28))

Pin 28

Definition at line 92 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_29   ((29))

Pin 29

Definition at line 93 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_3   ((3))

Pin 3

Definition at line 67 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_30   ((30))

Pin 30

Definition at line 94 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_31   ((31))

Pin 31

Definition at line 95 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_4   ((4))

Pin 4

Definition at line 68 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_5   ((5))

Pin 5

Definition at line 69 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_6   ((6))

Pin 6

Definition at line 70 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_7   ((7))

Pin 7

Definition at line 71 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_8   ((8))

Pin 8

Definition at line 72 of file lpc17xx_pinsel.h.

#define PINSEL_PIN_9   ((9))

Pin 9

Definition at line 73 of file lpc17xx_pinsel.h.

#define PINSEL_PINMODE_NORMAL   ((0))

Pin is in the normal (not open drain) mode.

Definition at line 107 of file lpc17xx_pinsel.h.

#define PINSEL_PINMODE_OPENDRAIN   ((1))

Pin is in the open drain mode

Definition at line 108 of file lpc17xx_pinsel.h.

#define PINSEL_PINMODE_PULLDOWN   ((3))

Internal pull-down resistor

Definition at line 102 of file lpc17xx_pinsel.h.

#define PINSEL_PINMODE_PULLUP   ((0))

Internal pull-up resistor

Definition at line 100 of file lpc17xx_pinsel.h.

#define PINSEL_PINMODE_TRISTATE   ((2))

Tri-state

Definition at line 101 of file lpc17xx_pinsel.h.

#define PINSEL_PORT_0   ((0))

!< Macros define for PORT SelectionPORT 0

Definition at line 47 of file lpc17xx_pinsel.h.

#define PINSEL_PORT_1   ((1))

PORT 1

Definition at line 48 of file lpc17xx_pinsel.h.

#define PINSEL_PORT_2   ((2))

PORT 2

Definition at line 49 of file lpc17xx_pinsel.h.

#define PINSEL_PORT_3   ((3))

PORT 3

Definition at line 50 of file lpc17xx_pinsel.h.

#define PINSEL_PORT_4   ((4))

PORT 4

Definition at line 51 of file lpc17xx_pinsel.h.