summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-12-26 17:38:10 +0100
committerFlorent Duchon2013-02-13 21:24:56 +0100
commit22abd06132445a55a1a0266897920f26634825c1 (patch)
treeeb56bd5654cd3a443b51ee3ea61cc9bbef6f185e /digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h
parentd3807d11ae66d862d5a41cae082288de4b23465c (diff)
digital/beacon: remove obsolete bitcloud stack
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h b/digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h
deleted file mode 100644
index 245abf6f..00000000
--- a/digital/beacon/src/Bitcloud_stack/Components/HAL/avr/atmega1281/common/include/halAtomic.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/**************************************************************************//**
- \file halAtomic.h
-
- \brief Implementation of atomic sections.
-
- \author
- Atmel Corporation: http://www.atmel.com \n
- Support email: avr@atmel.com
-
- Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
- Licensed under Atmel's Limited License Agreement (BitCloudTM).
-
- \internal
- History:
- 29/05/07 E. Ivanov - Created
- ******************************************************************************/
-/******************************************************************************
- * WARNING: CHANGING THIS FILE MAY AFFECT CORE FUNCTIONALITY OF THE STACK. *
- * EXPERT USERS SHOULD PROCEED WITH CAUTION. *
- ******************************************************************************/
-
-#ifndef _HALATOMIC_H
-#define _HALATOMIC_H
-
-#include <types.h>
-
-typedef uint8_t atomic_t;
-
-/******************************************************************************
-Saves global interrupt bit. Disables global interrupt.
-Parameters:
- none.
-Returns:
- none.
-******************************************************************************/
-INLINE atomic_t halStartAtomic(void)
-{
- atomic_t result = SREG;
- cli();
- return result;
-}
-
-/******************************************************************************
-Restores global interrupt.
-Parameters:
- none.
-Returns:
- none.
-******************************************************************************/
-INLINE void halEndAtomic(atomic_t sreg)
-{
- SREG = sreg;
-}
-
-#endif /* _HALATOMIC_H */
-// eof atomic.h
-