#include "pico.h"
#include "hardware/regs/addressmap.h"
Go to the source code of this file.
|
#define | check_hw_layout(type, member, offset) static_assert(offsetof(type, member) == (offset), "hw offset mismatch") |
|
#define | check_hw_size(type, size) static_assert(sizeof(type) == (size), "hw size mismatch") |
|
#define | PARAM_ASSERTIONS_ENABLED_ADDRESS_ALIAS 0 |
|
#define | _REG_(x) |
|
#define | hw_alias_check_addr(addr) ((uintptr_t)(addr)) |
|
#define | hw_set_alias_untyped(addr) ((void *)(REG_ALIAS_SET_BITS | hw_alias_check_addr(addr))) |
|
#define | hw_clear_alias_untyped(addr) ((void *)(REG_ALIAS_CLR_BITS | hw_alias_check_addr(addr))) |
|
#define | hw_xor_alias_untyped(addr) ((void *)(REG_ALIAS_XOR_BITS | hw_alias_check_addr(addr))) |
|
#define | xip_noalloc_alias_untyped(addr) ((void *)(XIP_NOALLOC_BASE | xip_alias_check_addr(addr))) |
|
#define | xip_nocache_alias_untyped(addr) ((void *)(XIP_NOCACHE_BASE | xip_alias_check_addr(addr))) |
|
#define | xip_nocache_noalloc_alias_untyped(addr) ((void *)(XIP_NOCACHE_NOALLOC_BASE | xip_alias_check_addr(addr))) |
|
#define | hw_set_alias(p) ((typeof(p))hw_set_alias_untyped(p)) |
|
#define | hw_clear_alias(p) ((typeof(p))hw_clear_alias_untyped(p)) |
|
#define | hw_xor_alias(p) ((typeof(p))hw_xor_alias_untyped(p)) |
|
#define | xip_noalloc_alias(p) ((typeof(p))xip_noalloc_alias_untyped(p)) |
|
#define | xip_nocache_alias(p) ((typeof(p))xip_nocache_alias_untyped(p)) |
|
#define | xip_nocache_noalloc_alias(p) ((typeof(p))xip_nocache_noalloc_alias_untyped(p)) |
|
|
typedef volatile uint32_t | io_rw_32 |
|
typedef const volatile uint32_t | io_ro_32 |
|
typedef volatile uint32_t | io_wo_32 |
|
typedef volatile uint16_t | io_rw_16 |
|
typedef const volatile uint16_t | io_ro_16 |
|
typedef volatile uint16_t | io_wo_16 |
|
typedef volatile uint8_t | io_rw_8 |
|
typedef const volatile uint8_t | io_ro_8 |
|
typedef volatile uint8_t | io_wo_8 |
|
typedef volatile uint8_t *const | ioptr |
|
typedef ioptr const | const_ioptr |
|