Glenn Ruben Bakke
|
aa9ad6be01
|
nrf5/modules/music: Update ticker and modmusic to share global ticks counter as a volatile variable. Use Timer1 hardware peripheral instead of instance 0. Timer0 is not free if used in combination with a bluetooth stack. Update IRQ priority to levels that are compatible in use with a bluetooth stack for both nrf51 and nrf52. Apply nrf51 PAN fixes for Timer1 instead of original Timer0.
|
2017-05-25 00:25:14 +02:00 |
|
Glenn Ruben Bakke
|
1192981d24
|
nrf5/drivers/ticker: Removing unused code.
|
2017-05-18 23:11:41 +02:00 |
|
Glenn Ruben Bakke
|
c921bbd9ac
|
nrf5/drivers/ticker: Removing LowPriority callback from nrf51 as there is only one SoftwareIRQ free if bluetooth stack is enabled. Also setting new IRQ priority on SlowTicker to 3 instead of 2, to interleave with bluetooth stack if needed. Updating all NVIC calls to use hal_irq.h defined static inlines instead of direct access.
|
2017-05-18 23:11:41 +02:00 |
|
Glenn Ruben Bakke
|
086d79fbad
|
nrf5/drivers/ticker: Add compile config guard in ticker.c to only include the driver if SOFT_PWM is configured in by board.
|
2017-05-18 23:11:41 +02:00 |
|
Glenn Ruben Bakke
|
cab515a022
|
nrf5/drivers/ticker: Adding ticker.c/.h from microbit port.
|
2017-05-18 23:11:41 +02:00 |
|