BITBAND Peripheral API. More...
![]() |
Functions | |
__STATIC_INLINE void | BITBAND_Peripheral (volatile uint32_t *addr, uint32_t bit, uint32_t val) |
Perform bit-band operation on peripheral memory location. | |
__STATIC_INLINE uint32_t | BITBAND_PeripheralRead (volatile uint32_t *addr, uint32_t bit) |
Perform a read operation on the peripheral bit-band memory location. | |
__STATIC_INLINE void | BITBAND_SRAM (uint32_t *addr, uint32_t bit, uint32_t val) |
Perform bit-band operation on SRAM memory location. | |
__STATIC_INLINE uint32_t | BITBAND_SRAMRead (uint32_t *addr, uint32_t bit) |
Read a single bit from the SRAM bit-band alias region. |
BITBAND Peripheral API.
__STATIC_INLINE void BITBAND_Peripheral | ( | volatile uint32_t * | addr, | |
uint32_t | bit, | |||
uint32_t | val | |||
) |
Perform bit-band operation on peripheral memory location.
Bit-banding provides atomic read-modify-write cycle for single bit modification. Please refer to the reference manual for further details about bit-banding.
[in] | addr | Peripheral address location to modify bit in. |
[in] | bit | Bit position to modify, 0-31. |
[in] | val | Value to set bit to, 0 or 1. |
Definition at line 71 of file em_bitband.h.
Referenced by ACMP_CapsenseInit(), ACMP_Init(), BURTC_CounterReset(), BURTC_Enable(), BURTC_FreezeEnable(), BURTC_Powerdown(), CMU_ClockDivSet(), CMU_ClockEnable(), CMU_ClockSelectSet(), CMU_PCNTClockExternalSet(), DAC_Enable(), DAC_Init(), DMA_CfgChannel(), EBI_AltMapEnable(), EBI_BankAddressTimingConfig(), EBI_BankByteLaneEnable(), EBI_BankEnable(), EBI_BankPolaritySet(), EBI_BankReadTimingConfig(), EBI_BankWriteTimingConfig(), EBI_ChipSelectEnable(), EBI_Init(), EBI_PolaritySet(), EMU_BUPDInit(), EMU_BUPinEnable(), EMU_EM2Block(), EMU_EM2UnBlock(), EMU_EM4Lock(), GPIO_DbgSWDClkEnable(), GPIO_DbgSWDIOEnable(), GPIO_IntConfig(), I2C_Enable(), I2C_Init(), LCD_SegmentSet(), LESENSE_AltExConfig(), LESENSE_ChannelConfig(), LESENSE_ChannelEnable(), PCNT_CounterReset(), PCNT_Init(), PCNT_PRSInputEnable(), PCNT_Reset(), RMU_ResetCauseClear(), RMU_ResetControl(), RTC_Enable(), WDOG_Enable(), WDOG_Init(), and WDOG_Lock().
__STATIC_INLINE uint32_t BITBAND_PeripheralRead | ( | volatile uint32_t * | addr, | |
uint32_t | bit | |||
) |
Perform a read operation on the peripheral bit-band memory location.
This function reads a single bit from the peripheral bit-band alias region. Bit-banding provides atomic read-modify-write cycle for single bit modification. Please refer to the reference manual for further details about bit-banding.
[in] | addr | Peripheral address location to read. |
[in] | bit | Bit position to read, 0-31. |
Definition at line 105 of file em_bitband.h.
__STATIC_INLINE void BITBAND_SRAM | ( | uint32_t * | addr, | |
uint32_t | bit, | |||
uint32_t | val | |||
) |
Perform bit-band operation on SRAM memory location.
Bit-banding provides atomic read-modify-write cycle for single bit modification. Please refer to the reference manual for further details about bit-banding.
[in] | addr | SRAM address location to modify bit in. |
[in] | bit | Bit position to modify, 0-31. |
[in] | val | Value to set bit to, 0 or 1. |
Definition at line 137 of file em_bitband.h.
__STATIC_INLINE uint32_t BITBAND_SRAMRead | ( | uint32_t * | addr, | |
uint32_t | bit | |||
) |
Read a single bit from the SRAM bit-band alias region.
This function reads a single bit from the SRAM bit-band alias region. Bit-banding provides atomic read-modify-write cycle for single bit modification. Please refer to the reference manual for further details about bit-banding.
[in] | addr | SRAM address location to modify bit in. |
[in] | bit | Bit position to modify, 0-31. |
Definition at line 169 of file em_bitband.h.