set xtimer parameters for cc2538-based boards.
This commit is contained in:
parent
3c275370c3
commit
4b29d2ef6d
@ -72,6 +72,17 @@ extern "C" {
|
||||
#define CCA_BACKDOOR_ACTIVE_LEVEL 0 /**< Active low */
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER TIMER_0
|
||||
#define XTIMER_CHAN 0
|
||||
#define XTIMER_SHIFT -4
|
||||
#define XTIMER_BACKOFF 50
|
||||
#define XTIMER_ISR_BACKOFF 40
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
|
||||
@ -60,6 +60,17 @@
|
||||
#define LED_ORANGE_TOGGLE (LED_PORT->DATA ^= (1 << LED_ORANGE_PIN))
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER TIMER_0
|
||||
#define XTIMER_CHAN 0
|
||||
#define XTIMER_SHIFT -4
|
||||
#define XTIMER_BACKOFF 50
|
||||
#define XTIMER_ISR_BACKOFF 40
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
|
||||
@ -121,6 +121,18 @@
|
||||
#define RF_SWITCH_INTERNAL (RF_SWITCH_PORT->DATA &= ~(1 << RF_SWITCH_PIN))
|
||||
#define RF_SWITCH_TOGGLE (RF_SWITCH_PORT->DATA ^= (1 << RF_SWITCH_PIN))
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name xtimer configuration
|
||||
* @{
|
||||
*/
|
||||
#define XTIMER TIMER_0
|
||||
#define XTIMER_CHAN 0
|
||||
#define XTIMER_SHIFT -4
|
||||
#define XTIMER_BACKOFF 50
|
||||
#define XTIMER_ISR_BACKOFF 40
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user