1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cpu/cc2538: add RTT_MIN_OFFSET

This commit is contained in:
Francisco Molina 2020-10-02 12:49:15 +02:00
parent eb8f747a34
commit 8df42f2390
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -344,6 +344,10 @@ typedef gpio_t adc_conf_t;
#define RTT_ISR isr_sleepmode
#define RTT_MAX_VALUE (0xffffffff)
#define RTT_FREQUENCY (CLOCK_OSC32K)
/* When setting a new compare value, the value must be at least 5 more
than the current sleep timer value. Otherwise, the timer compare
event may be lost. */
#define RTT_MIN_OFFSET (5U)
/** @} */
/**