diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-03-07 10:32:47 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-03-07 10:32:47 -0600 |
commit | 32e1402a530a14e7948bd6670156622bd36d860d (patch) | |
tree | f6f0182958ac80e2da5ed41937f83f55b1e5bad6 /nuttx/configs/sam4e-ek | |
parent | 3987172b4e4940197d7987610df55ba7155d5019 (diff) | |
download | px4-nuttx-32e1402a530a14e7948bd6670156622bd36d860d.tar.gz px4-nuttx-32e1402a530a14e7948bd6670156622bd36d860d.tar.bz2 px4-nuttx-32e1402a530a14e7948bd6670156622bd36d860d.zip |
SAMV7: Add basic clock and timer ISR configuration logic
Diffstat (limited to 'nuttx/configs/sam4e-ek')
-rw-r--r-- | nuttx/configs/sam4e-ek/include/board.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/configs/sam4e-ek/include/board.h b/nuttx/configs/sam4e-ek/include/board.h index 9bc48258c..2a17c88de 100644 --- a/nuttx/configs/sam4e-ek/include/board.h +++ b/nuttx/configs/sam4e-ek/include/board.h @@ -51,7 +51,7 @@ #endif /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /* Clocking *************************************************************************/ @@ -82,7 +82,7 @@ /* PLLA configuration. * * Divider = 1 - * Multipler = 16 or 20 + * Multiplier = 16 or 20 */ #ifdef CONFIG_SAM4EEK_120MHZ @@ -177,7 +177,7 @@ /* FLASH wait states. * - * SAM4E-EK documetion says: + * SAM4E-EK documentation says: * VDDCORE: "The voltage ranges from 1.08V to 1.32V." * VDDIO: Looks like it is at 3.3V * @@ -274,7 +274,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif @@ -311,10 +312,10 @@ void sam_setleds(uint8_t ledset); #endif /************************************************************************************ - * Name: stm32_lcdclear + * Name: sam_lcdclear * * Description: - * This is a non-standard LCD interface just for the Shenzhou board. Because + * This is a non-standard LCD interface just for the SAM4e-EK board. Because * of the various rotations, clearing the display in the normal way by writing a * sequences of runs that covers the entire display can be very slow. Here the * display is cleared by simply setting all GRAM memory to the specified color. |