diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-09 02:16:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-09 02:16:20 +0000 |
commit | 191c5b0c79eee53dcd2beb8623f89b80b632a2c6 (patch) | |
tree | 4d3f4cc55f5ca6c2aae2afc097242b927e1a362c /nuttx/configs/avr32dev1/include | |
parent | 5e01bca8ef5874ba91274df1d235dbed7311978c (diff) | |
download | px4-nuttx-191c5b0c79eee53dcd2beb8623f89b80b632a2c6.tar.gz px4-nuttx-191c5b0c79eee53dcd2beb8623f89b80b632a2c6.tar.bz2 px4-nuttx-191c5b0c79eee53dcd2beb8623f89b80b632a2c6.zip |
Add uart init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2982 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/avr32dev1/include')
-rwxr-xr-x | nuttx/configs/avr32dev1/include/board.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nuttx/configs/avr32dev1/include/board.h b/nuttx/configs/avr32dev1/include/board.h index 636107198..8f38b2e4f 100755 --- a/nuttx/configs/avr32dev1/include/board.h +++ b/nuttx/configs/avr32dev1/include/board.h @@ -48,6 +48,20 @@ ************************************************************************************/ /* Clocking *************************************************************************/ +/* #define AVR32_FRCOSC 15200 RCOsc frequency in Hz */ + +#define AVR32_FOSC32 32768 /* Osc32 frequency in Hz */ +#define AVR32_OSC32STARTUP 3 /* Osc32 startup time in RCOsc periods */ + +#define AVR32_FOSC0 12000000 /* Osc0 frequency in Hz */ +#define AVR32_OSC0STARTUP 3 /* Osc0 startup time in RCOsc periods. + +/* #define AVR32_FOSC1 12000000 Osc1 frequency: Hz. + * #define AVR32_OSC1STARTUP 3 Osc1 startup time in RCOsc periods. + */ + +#define AVR32_CPU_CLOCK AVR32_FOSC0 +#define AVR32_PBA_CLOCK AVR32_FOSC0 /* LED definitions ******************************************************************/ |