hsk-libs-dev
270
High Speed Karlsruhe XC878 library collection
|
This group contains defines and macros to initialize port pins as inputs and read them. More...
Macros | |
#define | IO_PORT_IN_INIT(port, pins) |
Initializes a set of port pins as inputs. More... | |
#define | IO_PORT_ON_GND 0 |
Bit mask to set the logical 1 to GND level for all selected pins. More... | |
#define | IO_PORT_ON_HIGH 0xff |
Bit mask to set the logical 1 to high level for all selected pins. More... | |
#define | IO_PORT_GET(port, pins, on) |
Evaluates to a bit mask of logical pin states of a port. More... | |
This group contains defines and macros to initialize port pins as inputs and read them.
#define IO_PORT_GET | ( | port, | |
pins, | |||
on | |||
) |
Evaluates to a bit mask of logical pin states of a port.
port | The parallel port to access |
pins | A bit mask of the pins to select |
on | A bit mask of pins that defines the states which represent on |
#define IO_PORT_IN_INIT | ( | port, | |
pins | |||
) |
Initializes a set of port pins as inputs.
port | The parallel port to configure |
pins | A bit mask of the pins to select |
#define IO_PORT_ON_GND 0 |
Bit mask to set the logical 1 to GND level for all selected pins.
#define IO_PORT_ON_HIGH 0xff |
Bit mask to set the logical 1 to high level for all selected pins.