The bench log's columns per watched target.
More...
#include "log_cols.h"
#include <stdio.h>
#include <string.h>
|
| static bool | target_name (uint16_t w, char *out, size_t n) |
| | What WATCH value w names, into out; false for none.
|
| static bool | logged (const uint16_t *map, unsigned c) |
| | Whether channel c of map reads something it names.
|
| void | log_cols_from_map (const uint16_t *map, log_cols_t *out) |
| | The groups SENSE_MAP registers 0 to 25 map make, into out; none for a NULL map.
|
The bench log's columns per watched target.
See log_cols.h.
SPDX-License-Identifier: MIT
◆ log_cols_from_map()
| void log_cols_from_map |
( |
const uint16_t * | map, |
|
|
log_cols_t * | out ) |
The groups SENSE_MAP registers 0 to 25 map make, into out; none for a NULL map.
- Parameters
-
| map | The SENSE_MAP registers 0 to 25, or NULL. |
| out | Receives the groups. |
◆ logged()
| bool logged |
( |
const uint16_t * | map, |
|
|
unsigned | c ) |
|
static |
Whether channel c of map reads something it names.
- Parameters
-
| map | The SENSE_MAP registers. |
| c | The channel. |
- Returns
- true when the channel is logged.
◆ target_name()
| bool target_name |
( |
uint16_t | w, |
|
|
char * | out, |
|
|
size_t | n ) |
|
static |
What WATCH value w names, into out; false for none.
- Parameters
-
| w | The WATCH value. |
| out | Receives the name. |
| n | The size of out, in bytes. |
- Returns
- true when w names a target; false for none.