1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cc2538
Francisco Molina 8ed8daa493
cpu/cc2538/timer: fix 32 bit timer reload value
The interval load value was only set to 0xffff regardless of the counter
mode used which mad the 32bit timer apparently stop after 0xffff (it
would never reach values >0xffff).

When a GPTM is configured to one of the 32-bit modes, TAILR appears as a
32-bit register (the upper 16-bits correspond to the contents of the
GPTM Timer B Interval Load (TBILR) register). In a 16-bit mode, the
upper 16 bits of this register read as 0s and have no effect on the
state of TBILR.

Thsi commit set the correct value for TAILR depending on the configured
timer mode.
2020-08-12 11:35:42 +02:00
..
include cpu/cc2538: set CPU_HAS_BITBAND 2020-08-08 12:44:11 +02:00
ldscripts cc2538: Adjust ldscript memory segment attributes 2018-05-09 06:41:57 +02:00
periph cpu/cc2538/timer: fix 32 bit timer reload value 2020-08-12 11:35:42 +02:00
radio cc2538: fix RSSI offset 2020-07-31 16:08:04 +02:00
cpu.c cpu/cc2538/cpu: cleanup clock intialization 2020-03-21 19:32:22 +01:00
doc.txt cpu/cc2538: doxgen fixes 2016-01-27 09:55:24 +01:00
Kconfig cpu/cc2538: Add Kconfig symbols 2020-06-24 15:15:43 +02:00
Makefile makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
Makefile.dep cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
Makefile.features cpu/cc2538: Add Kconfig symbols 2020-06-24 15:15:43 +02:00
Makefile.include cpu/cortexm: move CPU_ARCH/FAM to Makefile.features 2020-02-17 16:02:48 +01:00
vectors.c cpu/cortexm: Remove leftover _estack declarations 2017-11-10 15:38:14 +01:00