Simple mbed library with macros
Dependents: SimpleTimer SimpleUART SimpleTimer Stoppuhr1
Diff: mbed_globals.h
- Revision:
- 2:e6b2d22fbf75
- Parent:
- 1:1033948951f0
- Child:
- 3:0b94bf95c552
--- a/mbed_globals.h Mon Nov 08 10:32:34 2010 +0000 +++ b/mbed_globals.h Mon Nov 08 12:22:35 2010 +0000 @@ -14,11 +14,8 @@ #define BIT_BANDING_ADDRESS(reg, bit) (((reg) & 0xF0000000) | (0x02000000) | (((reg) & 0x000FFFFF) << 5) | ((bit) << 2)) #define GET_BIT_VALUE(reg, bit) GET_REGISTER32(BIT_BANDING_ADDRESS(reg, bit)) - -/******************************************************************************/ -/* Peripheral memory map */ -/******************************************************************************/ -/* Base addresses */ +/** Peripheral memory map **/ +/* Base addresses */ #define LPC_FLASH_BASE (0x00000000UL) #define LPC_RAM_BASE (0x10000000UL) #define LPC_GPIO_BASE (0x2009C000UL)