bsp_rtc.h 340 B

12345678910111213141516171819
  1. #ifndef __BSP_RTC_H__
  2. #define __BSP_RTC_H__
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include "nrf.h"
  7. #include "app_error.h"
  8. #include "nrf_drv_rtc.h"
  9. #include "sdk_common.h"
  10. #include "SEGGER_RTT.h"
  11. #include "usr_config.h"
  12. #include "nrf_assert.h"
  13. void RTC_init(void);
  14. uint32_t rtc_sleep(uint32_t sleep_125ms);
  15. #endif