#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
struct | SrixFlag |
| Struct that represents the modified blocks in a SRIX tag. More...
|
|
◆ SRIX_FLAG_INIT
#define SRIX_FLAG_INIT (SrixFlag) {{0, 0, 0, 0}} |
◆ SrixFlag
Struct that represents the modified blocks in a SRIX tag.
◆ srixFlagAdd()
void srixFlagAdd |
( |
SrixFlag * |
flag, |
|
|
uint8_t |
block |
|
) |
| |
Set the flag value of a specified block to true (modified).
- Parameters
-
flag | pointer to a SrixFlag instance |
block | block to flag (0-127) |
◆ srixFlagGet()
bool srixFlagGet |
( |
SrixFlag * |
flag, |
|
|
uint8_t |
block |
|
) |
| |
Get the flag value of a specified block.
- Parameters
-
flag | pointer to a SrixFlag instance |
block | block to get (0-127) |
- Returns
- boolean result