AVR-specific implementation of bit operations. More...
#include <interrupt.h>Go to the source code of this file.
Typedefs | |
| typedef uint8_t | bit_word_t |
| Optimum type for bit operations. | |
Functions | |
| static void | atomic_set_bit (unsigned int nr, bit_word_t *bitmap) |
| Atomically set bit nr in bitmap. | |
| static void | atomic_clear_bit (unsigned int nr, bit_word_t *bitmap) |
| Atomically clear bit nr in bitmap. | |
| static void | atomic_toggle_bit (unsigned int nr, bit_word_t *bitmap) |
| Atomically toggle bit nr in bitmap. | |
| static bool | atomic_test_and_set_bit (unsigned int nr, bit_word_t *bitmap) |
| Atomically set bit nr in bitmap and return its previous state. | |
| static bool | atomic_test_and_clear_bit (unsigned int nr, bit_word_t *bitmap) |
| Atomically clear bit nr in bitmap and return its previous state. | |
AVR-specific implementation of bit operations.
Copyright (C) 2009 Atmel Corporation. All rights reserved.
Definition in file bitops.h.
1.6.3