Go to the source code of this file.
|
static ALWAYS_INLINE void | sys_set_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE void | sys_clear_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE int | sys_test_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE void | sys_set_bits (mem_addr_t addr, unsigned int mask) |
| Masking the designated bits from addr to 1.
|
|
static ALWAYS_INLINE void | sys_clear_bits (mem_addr_t addr, unsigned int mask) |
| Masking the designated bits from addr to 0.
|
|
static ALWAYS_INLINE void | sys_bitfield_set_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE void | sys_bitfield_clear_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE int | sys_bitfield_test_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE int | sys_test_and_set_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE int | sys_test_and_clear_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE int | sys_bitfield_test_and_set_bit (mem_addr_t addr, unsigned int bit) |
|
static ALWAYS_INLINE int | sys_bitfield_test_and_clear_bit (mem_addr_t addr, unsigned int bit) |
|
◆ sys_bitfield_clear_bit()
◆ sys_bitfield_set_bit()
◆ sys_bitfield_test_and_clear_bit()
◆ sys_bitfield_test_and_set_bit()
◆ sys_bitfield_test_bit()
◆ sys_clear_bit()
◆ sys_clear_bits()
Masking the designated bits from addr to 0.
This functions masking designated bits from addr to 0.
- Parameters
-
addr | the memory address from where to look for the bits |
mask | the bit mask of a 32 bits data to set |
◆ sys_set_bit()
◆ sys_set_bits()
Masking the designated bits from addr to 1.
This functions masking designated bits from addr to 1.
- Parameters
-
addr | the memory address from where to look for the bits |
mask | the bit mask of a 32 bits data to set |
◆ sys_test_and_clear_bit()
◆ sys_test_and_set_bit()
◆ sys_test_bit()