arch/avr8/include/arch/bitops.h File Reference

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.

Detailed Description

AVR-specific implementation of bit operations.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file bitops.h.

Generated on Thu Apr 29 14:09:58 2010 for display-demo by  doxygen 1.6.3