将秒转换成 RTC 时间
将 RTC 时间转换成秒
无
说明: 设置 RTC 时间。
void bflb_rtc_set_time(struct bflb_device_s *dev, uint64_t time);
parameter | description |
---|---|
dev | 设备句柄 |
time | RTC 时间(单位: 1/32768 s) |
说明: 获取 RTC 时间。
uint64_t bflb_rtc_get_time(struct bflb_device_s *dev);
parameter | description |
---|---|
dev | 设备句柄 |
return | RTC 时间(单位: 1/32768 s) |