Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nRF51822
Diff: hw.h
- Revision:
- 9:0b017e956142
- Parent:
- 7:090f9eea7b3c
- Child:
- 10:b3553e75eee0
--- a/hw.h Tue May 23 14:27:04 2017 +0000 +++ b/hw.h Tue May 30 19:01:17 2017 +0000 @@ -24,6 +24,9 @@ uint16_t adc_read(int chan, int num_readings); uint16_t read_battery_voltage(void); +void set_rtc(uint32_t s); +void update_rtc(uint32_t s); + uint32_t read_clock(void); void init_clock(uint32_t s); void set_time_offset(uint32_t s);