Francisco Molina
9dde6ec53d
drivers/rtt: overrite RTT_MAX_VALUE and RTT_FREQUENCY for mock
...
mock_rtt relies on setting mock values for RTT_MAX_VALUE and
RTT_FREQUENCY. Platforms with a rtt will already define these
values which leads to mock_rtt working with different values than
rtt_rtc.
This commit changes the ifdef logic so that when using mock_rtt
RTT_MAX_VALUE and RTT_FREQUENCY are redefined.
2020-07-22 08:52:54 +02:00
Francisco Molina
8d329942df
drivers/periph/rtt: introduce RTT_MIN_OFFSET
2020-06-11 09:30:25 +02:00
Francisco Molina
0c0f8ec98f
drivers/periph/rtt.h: add RTT_FREQUENCY & RTT_MAX_VALUE doc
2020-04-23 22:11:16 +02:00
Francisco Molina
2604971753
drivers/periph/rtt.h: ensure RTT_MAX_VALUE is set
2020-04-23 19:07:18 +02:00
Benjamin Valentin
60cc3b8757
periph/rtt: Allow using MOCK_RTT defines from Unit Test
2020-03-19 15:25:14 +01:00
4df2827fe1
periph/rtt: clarify rtt_set_alarm() documentation
2020-01-13 15:18:16 +01:00
Hauke Petersen
44c54c2ae0
periph/rtt: add doc on low power implications
2019-10-01 23:09:23 +02:00
smlng
a9e848f648
periph/rtt: add missing std header
...
The periph/rtt.h uses `uintX_t` typedefs but misses the required
standard header file, namely `stdint.h`, which is added here.
2018-09-07 14:54:23 +02:00
Vincent Dupont
6840c15db0
periph/rtt: remove RTT_NUMOF guard from header
2018-02-09 15:51:06 +01:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Hauke Petersen
77b790375f
drivers/periph: some doxygen fixes
...
- added todos to periph module description
- repaired group names (e.g. s/driver_xx/drivers_xx/)
2015-11-19 15:57:36 +01:00
daniel-k
e433231941
periph/rtt: add macros for ticks to time conversion
2015-09-22 16:59:05 +02:00
daniel-k
80c13d109b
periph/rtt: add macros for time to tick conversion
2015-06-08 17:19:20 +02:00
Alexandru Caciulescu
451bf78549
drivers/include/periph: Repair header file include guards
2015-03-24 17:55:42 +02:00
Ludwig Ortmann
da43a5e7a4
doc: periph: various fixes and cleanup
...
- unify file/module @brief
- distinct @file section more visibly in source
- provide missing @brief's
- move module details/notes from file to module sections
- provide missing macro definition for building
2014-12-04 10:28:45 +01:00
Ludwig Ortmann
fb75b65df7
periph/rtt: fix documentation
...
Fix some typos, grammar and style.
2014-11-19 17:04:20 +01:00
Hauke Petersen
1ae08f8437
drivers/periph/rtt: added overflow callback
2014-11-07 12:14:37 +01:00
Ludwig Ortmann
5523ec67f3
doc: make peripheral interfaces modules
...
also remove `@file` parameters
2014-10-25 15:37:04 +02:00
BytesGalore
f94623ae0f
drivers: add extern "C"
to header files
2014-10-21 15:30:03 +02:00
Thomas Eichinger
c5ed71e54f
periph_driver: introduce a RTT interface
2014-08-21 21:59:42 +02:00