Skip to content

Commit

Permalink
boards: adjusted TIMER_0 defines for NRF based b.
Browse files Browse the repository at this point in the history
adjusted for
- pca10000
- pca10005
- yunjia-nrf51822
  • Loading branch information
haukepetersen committed Oct 17, 2014
1 parent de1e4d1 commit 69ddd09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions boards/pca10000/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
/* Timer 0 configuration */
#define TIMER_0_DEV NRF_TIMER0
#define TIMER_0_CHANNELS 3
#define TIMER_0_MAX_VALUE (0xffffffff)
#define TIMER_0_BITMODE TIMER_BITMODE_BITMODE_32Bit
#define TIMER_0_MAX_VALUE (0xffffff)
#define TIMER_0_BITMODE TIMER_BITMODE_BITMODE_24Bit
#define TIMER_0_ISR isr_timer0
#define TIMER_0_IRQ TIMER0_IRQn

Expand Down
4 changes: 2 additions & 2 deletions boards/pca10005/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
/* Timer 0 configuration */
#define TIMER_0_DEV NRF_TIMER0
#define TIMER_0_CHANNELS 3
#define TIMER_0_MAX_VALUE (0xffffffff)
#define TIMER_0_BITMODE TIMER_BITMODE_BITMODE_32Bit
#define TIMER_0_MAX_VALUE (0xffffff)
#define TIMER_0_BITMODE TIMER_BITMODE_BITMODE_24Bit
#define TIMER_0_ISR isr_timer0
#define TIMER_0_IRQ TIMER0_IRQn

Expand Down
4 changes: 2 additions & 2 deletions boards/yunjia-nrf51822/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
/* Timer 0 configuration */
#define TIMER_0_DEV NRF_TIMER0
#define TIMER_0_CHANNELS 3
#define TIMER_0_MAX_VALUE (0xffffffff)
#define TIMER_0_BITMODE TIMER_BITMODE_BITMODE_32Bit
#define TIMER_0_MAX_VALUE (0xffffff)
#define TIMER_0_BITMODE TIMER_BITMODE_BITMODE_24Bit /* only possible value for TIMER0 */
#define TIMER_0_ISR isr_timer0
#define TIMER_0_IRQ TIMER0_IRQn

Expand Down

0 comments on commit 69ddd09

Please sign in to comment.