42 static inline volatile uint32_t*
__bb_addr(
volatile void*,
53 static inline volatile uint32_t*
bb_sramp(
volatile void *address, uint32_t bit) {
54 return __bb_addr(address, bit, SRAM1_BB_BASE, SRAM_BASE);
85 static inline volatile uint32_t*
bb_perip(
volatile void *address, uint32_t bit) {
86 return __bb_addr(address, bit, PERIPH_BB_BASE, PERIPH_BASE);
111 static inline volatile uint32_t*
__bb_addr(
volatile void *address,
115 return (
volatile uint32_t*)(bb_base + ((uint32_t)address - bb_ref) * 32 +
static uint8_t bb_sram_get_bit(volatile void *address, uint32_t bit)
Get a bit from an address in the SRAM bit-band region.
static volatile uint32_t * bb_sramp(volatile void *address, uint32_t bit)
Obtain a pointer to the bit-band address corresponding to a bit in a volatile SRAM address...
static volatile uint32_t * __bb_addr(volatile void *, uint32_t, uint32_t, uint32_t)
static void bb_peri_set_bit(volatile void *address, uint32_t bit, uint8_t val)
Set a bit in an address in the peripheral bit-band region.
static uint8_t bb_peri_get_bit(volatile void *address, uint32_t bit)
Get a bit from an address in the peripheral bit-band region.
static volatile uint32_t * bb_perip(volatile void *address, uint32_t bit)
Obtain a pointer to the bit-band address corresponding to a bit in a peripheral address.
static void bb_sram_set_bit(volatile void *address, uint32_t bit, uint8_t val)
Set a bit in an address in the SRAM bit-band region.