hsk-libs-dev
270
High Speed Karlsruhe XC878 library collection
|
This group specifies macros to access bits of a variable. More...
Macros | |
#define | IO_VAR_SET(var, bits, on, set) |
Set a set of variable bits. More... | |
#define | IO_VAR_GET(var, bits, on) |
Evaluates to a bit mask of logical states of a variable. More... | |
This group specifies macros to access bits of a variable.
Their value lies in the seperation of encoded on
state and logical on
(1), as well as the safe bit masking.
#define IO_VAR_GET | ( | var, | |
bits, | |||
on | |||
) |
Evaluates to a bit mask of logical states of a variable.
var | The variable to access |
bits | A bit mask of the bits to select |
on | A bit mask that defines the states which represent true |
#define IO_VAR_SET | ( | var, | |
bits, | |||
on, | |||
set | |||
) |
Set a set of variable bits.
var | The variable to set |
bits | A bit mask of the bits to select |
on | A bit mask that defines the states which represent true |
set | Set logical values for the defined bits |