* Defines for 8MHz cpus.
This commit is contained in:
parent
40488575c7
commit
8ebe0466a0
@ -71,6 +71,21 @@
|
||||
#define USART_BAUD_250000 3
|
||||
#define USART_BAUD_500000 1
|
||||
#define USART_BAUD_1000000 0
|
||||
#elif MCU_MHZ == 8
|
||||
/* Single speed operation (U2X = 0)*/
|
||||
#define USART_BAUD_2400 207
|
||||
#define USART_BAUD_4800 103
|
||||
#define USART_BAUD_9600 51
|
||||
#define USART_BAUD_14400 34
|
||||
#define USART_BAUD_19200 25
|
||||
#define USART_BAUD_28800 16
|
||||
#define USART_BAUD_38400 12
|
||||
#define USART_BAUD_57600 8
|
||||
#define USART_BAUD_76800 6
|
||||
#define USART_BAUD_115200 3
|
||||
#define USART_BAUD_230400 1
|
||||
#define USART_BAUD_250000 1
|
||||
#define USART_BAUD_500000 0
|
||||
#else
|
||||
#error "Please define the baud rates for your CPU clock: ATmega128 handbook p. \
|
||||
195-198 or set the rate in contiki-conf.h"
|
||||
|
Loading…
Reference in New Issue
Block a user