|
0.3.1
|
Macros | |
| #define | MEMORY_READ(t, x) (*(volatile uint ## t ## _t *)(x)) |
| #define | MEMORY_WRITE(t, x, y) |
| #define | MEMORY_WRITE_AND(t, x, y) |
| #define | MEMORY_WRITE_OR(t, x, y) |
| #define MEMORY_READ | ( | t, | |
| x | |||
| ) | (*(volatile uint ## t ## _t *)(x)) |
Read value of size t from address x.
| t | The bit count: 8, 16, or 32. |
| x | The byte offset. |
| #define MEMORY_WRITE | ( | t, | |
| x, | |||
| y | |||
| ) |
Write value y to address x of size t.
| t | The bit count: 8, 16, or 32. |
| x | The byte offset. |
| y | The value to write. |
| #define MEMORY_WRITE_AND | ( | t, | |
| x, | |||
| y | |||
| ) |
Bitwise AND value y to address x of size t.
| t | The bit count: 8, 16, or 32. |
| x | The byte offset. |
| y | The value to bitwise AND. |
| #define MEMORY_WRITE_OR | ( | t, | |
| x, | |||
| y | |||
| ) |
Bitwise OR value y to address x of size t.
| t | The bit count: 8, 16, or 32. |
| x | The byte offset. |
| y | The value to bitwise OR. |