Home
last modified time | relevance | path

Searched refs:RTC (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-rtc-des.md1 # RTC chapter
7 RTC(real-time clock)为操作系统中的实时时钟设备,为操作系统提供精准的实时时间和定时报警功能。当设备下电后,通过外置电池供电,RTC继续记录操作系统时间;设备上电后,RTC提供实时…
23 RTC模块各分层作用:
25 …打开RTC设备、RTC设备读取时间、RTC设备设置时间、RTC设备读取警报时间、RTC设备设置警报时间、RTC设备定时报警回调函数、RTC设备设置定时报警中断使能去使能、RTC设备设置RTC外频、
65 ![RTC设备使用流程图](figures/RTC设备使用流程图.png)
69 RTC驱动加载成功后,使用驱动框架提供的查询接口并调用RTC设备驱动接口。
72 > 当前操作系统仅支持一个RTC设备。本文涉及的RTC的所有接口,支持内核态及用户态使用。
384 // 设置RTC外接晶体振荡频率,注意按照器件手册要求配置RTC外频
393 - 复位RTC
395 复位RTC,复位RTC后各配置寄存器恢复默认值,可以通过以下函数完成:
[all …]
H A Ddriver-platform-rtc-develop.md1 # RTC chapter
7 RTC(real-time clock)为操作系统中的实时时钟设备,为操作系统提供精准的实时时间和定时报警功能。当设备下电后,通过外置电池供电,RTC继续记录操作系统时间;设备上电后,RTC提供实时…
23 RTC模块各分层作用:
25 …打开RTC设备、RTC设备读取时间、RTC设备设置时间、RTC设备读取警报时间、RTC设备设置警报时间、RTC设备定时报警回调函数、RTC设备设置定时报警中断使能去使能、RTC设备设置RTC外频、
35 RTC主要用于提供实时时间和定时报警功能。当驱动开发者需要将RTC设备适配到OpenHarmony时,需要进行RTC驱动适配,下文将介绍如何进行RTC驱动适配。
71 | Reset | host:结构体指针,核心层RTC控制器 | 无 | HDF_STATUS相关状态 | RTC复位 |
78 RTC模块适配HDF框架包含以下四个步骤:
92 3. 实例化RTC控制器对象
116 RTC驱动入口参考:
203 3. 实例化RTC控制器对象
[all …]
H A Ddriver-overview-foundation.md57 …iver),即平台设备(Platform Device)驱动,为系统及外设驱动提供访问接口。这里的平台设备,泛指I2C/UART等总线、以及GPIO/RTC等特定硬件资源。平台驱动框架是OpenH…
67 平台驱动框架目前支持的设备类型包括但不限于:ADC、DAC、GPIO、HDMI、I2C、I3C、MIPI_CSI、MIPI_DSI、MMC、Pin、PWM、Regulator、RTC、SDIO、SP…
H A DReadme-CN.md19 - [RTC](driver-platform-rtc-develop.md)
37 - [RTC](driver-platform-rtc-des.md)
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-rtc-des.md1 # RTC chapter
11 **Table 1** RTC APIs
15 | RTC handle| **RtcOpen**: opens the RTC device to obtain its handle.<br>**RtcClose**: closes the R…
30 …ring the OS startup, the HDF loads the RTC driver based on the configuration file. The RTC driver …
36 ![image](figures/using-RTC-process.png "Using RTC APIs")
137 - Reading the RTC time
160 /* Read RTC time from the RTC driver. */
167 - Setting the RTC time
201 /* Write the RTC time. */
208 - Reading the RTC alarm time
[all …]
H A Ddriver-platform-rtc-develop.md1 # RTC chapter
10 ![image](figures/independent-service-mode.png "RTC independent service mode")
38 …ructure pointer to the RTC controller at the core layer.| **time**: structure pointer to the time …
40RTC controller at the core layer.<br>**alarmIndex**: RTC alarm index, which is an enumerated value…
41RTC controller at the core layer.<br>**alarmIndex**: RTC alarm index, which is an enumerated value…
43RTC controller at the core layer.<br>**alarmIndex**: RTC alarm index, which is an enumerated value…
46 … Reset | **host**: structure pointer to the RTC controller at the core layer.| –| HDF_STATUS| Rese…
53 The RTC module adaptation involves the following steps:
63 3. Instantiate the RTC controller object.
86 RTC driver entry example:
[all …]
H A DReadme-EN.md19 - [RTC](driver-platform-rtc-develop.md)
37 - [RTC](driver-platform-rtc-des.md)
H A Ddriver-overview-foundation.md59 …vices refer to buses, such as I2C and UART, and specific hardware resources, such as GPIO and RTC.
71 …, DAC, GPIO, HDMI, I2C, I3C, MIPI CSI, MIPI DSI, MMC, pin, PWM, regulator, RTC, SDIO, SPI, UART, a…
/ohos5.0/docs/zh-cn/device-dev/quick-start/
H A Dquickstart-appendix-rk3568.md34 | RTC | 1×RTC |
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-appendix-rk3568.md34 | RTC | 1 x RTC |
/ohos5.0/base/time/time_service/services/timer/include/
H A Dtimer_manager_interface.h53 RTC = 1, enumerator
/ohos5.0/base/time/time_service/services/time/src/
H A Dtime_tick_notify.cpp53 timerPara.timerType = static_cast<int>(ITimerManager::TimerType::RTC); in Init()
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/
H A DREADME.md38 │ ├── rtc # RTC APIs
/ohos5.0/base/time/time_service/services/timer/src/
H A Dtimer_info.cpp75 if (type == ITimerManager::RTC || type == ITimerManager::RTC_WAKEUP) { in UpdateWhenElapsedFromNow()
H A Dtimer_manager.cpp592 if (type == RTC || type == RTC_WAKEUP) { in ConvertToElapsed()
1143 if (alarm->type == RTC || alarm->type == RTC_WAKEUP) { in AdjustDeliveryTimeBasedOnDeviceIdle()
1334 NEED_RECOVER_ON_REBOOT.end() && (type == RTC || type == RTC_WAKEUP)); in CheckNeedRecoverOnReboot()
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-hdf-coding-guide.md574 HDF PAL框架对平台类驱动进行了抽象,并对外提供统一的操作接口,包括GPIO、I2C、SPI、UART、RTC、SDIO、EMMC、DSI、PWM、WATCHDOG等模块。
/ohos5.0/docs/en/device-dev/
H A Dwebsite.md291 - [RTC](driver/driver-platform-rtc-develop.md)
308 - [RTC](driver/driver-platform-rtc-des.md)
/ohos5.0/base/time/time_service/services/
H A Dtime_system_ability.cpp306 paras.timerType = ITimerManager::TimerType::RTC; in ParseTimerPara()
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-hdf-coding-guide.md574 …unified operation interfaces for modules such as the GPIO, I2C, SPI, UART, RTC, SDIO, eMMC, DSI, P…
/ohos5.0/base/update/updater/test/unittest/test_data/applypatch/
H A DTestGZipModeImagePatch.old.gz1console:/ # init: Service 'adbd' (pid 112) exited with status 1 2init ...
/ohos5.0/docs/zh-cn/device-dev/
H A Dwebsite.md292 - [RTC](driver/driver-platform-rtc-develop.md)
309 - [RTC](driver/driver-platform-rtc-des.md)
/ohos5.0/foundation/multimedia/image_framework/test/resource/image/images/
H A Dtest.raf22012 …DI4*N$F�2E2�(b�D�RFRT*ftC�rC@T*\�E�Ee's�F�BF0�*GTH�RDL�*D�E�C(�(W�GՂEu�*RTCђD@T)ZE�D\�(:�DɂFN…