hsk-libs-dev
270
High Speed Karlsruhe XC878 library collection
|
This group contains macros and defines to initialize the pull-up/-down devices of port pins. More...
Macros | |
#define | IO_PORT_PULL_DISABLE 0 |
Bit mask to disable pull up/down for all selected pins. More... | |
#define | IO_PORT_PULL_ENABLE 0xff |
Bit mask to enable pull up/down for all selected pins. More... | |
#define | IO_PORT_PULL_DOWN 0 |
Bit mask to select pull down for all selected pins. More... | |
#define | IO_PORT_PULL_UP 0xff |
Bit mask to select pull up for all selected pins. More... | |
#define | IO_PORT_PULL_INIT(port, pins, pull, dir) |
Sets the pull-up/-down properties of port pins. More... | |
This group contains macros and defines to initialize the pull-up/-down devices of port pins.
#define IO_PORT_PULL_DISABLE 0 |
Bit mask to disable pull up/down for all selected pins.
#define IO_PORT_PULL_DOWN 0 |
Bit mask to select pull down for all selected pins.
#define IO_PORT_PULL_ENABLE 0xff |
Bit mask to enable pull up/down for all selected pins.
#define IO_PORT_PULL_INIT | ( | port, | |
pins, | |||
pull, | |||
dir | |||
) |
Sets the pull-up/-down properties of port pins.
port | The parallel port to configure |
pins | A bit mask of the pins to select |
pull | A bit mask of pins to activate the internal pull up/down device for |
dir | A bit mask of pins to set the pull direction |
#define IO_PORT_PULL_UP 0xff |
Bit mask to select pull up for all selected pins.