rtc.h 441 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2012-10-10 aozima first version.
  9. */
  10. #ifndef __RTC_H__
  11. #define __RTC_H__
  12. #include <rtconfig.h>
  13. rt_err_t set_date(rt_uint32_t year, rt_uint32_t month, rt_uint32_t day);
  14. rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t second);
  15. #endif /* __RTC_H__ */