• Home
Name Date Size #Lines LOC

..--

interfaces/inner_api/12-May-2024-1,015123

BUILD.gnD12-May-2024998 3026

LICENSED12-May-202410.1 KiB177150

README.mdD12-May-2024967 2314

README_zh.mdD12-May-2024755 2314

bundle.jsonD12-May-2024825 3434

README.md

1# IoT Hardware<a name="EN-US_TOPIC_0000001117425053"></a>
2
3-   [Introduction](#section11660541593)
4-   [Directory Structure](#section1464106163817)
5-   [Constraints](#section1718733212019)
6
7## Introduction<a name="section11660541593"></a>
8
9The Internet of Things \(IoT\) hardware subsystem provides APIs for operating IoT devices, including flash, general-purpose input/output \(GPIO\), Inter-Integrated Circuit \(I2C\), pulse width modulation \(PWM\), universal asynchronous receiver-transmitter \(UART\), and watchdog APIs.
10
11## Directory Structure<a name="section1464106163817"></a>
12
13```
14/base/iothardware/peripheral
15├── interfaces
16    └── inner_api                      # APIs for operating IoT devices
17```
18
19## Constraints<a name="section1718733212019"></a>
20
21The IoT hardware subsystem is compiled using the C language. Currently, only the Hi3861 development board is supported. If you want to use other chips, you need to implement OpenHarmony APIs.
22
23

README_zh.md

1# IOT硬件子系统<a name="ZH-CN_TOPIC_0000001117425053"></a>
2
3-   [简介](#section11660541593)
4-   [目录](#section1464106163817)
5-   [约束](#section1718733212019)
6
7## 简介<a name="section11660541593"></a>
8
9IOT(The Internet of Things)硬件设备操作的接口。本模块提供设备操作接口有:FLASH,GPIO,I2C,PWM,UART,WATCHDOG等
10
11## 目录<a name="section1464106163817"></a>
12
13```
14/base/iothardware/peripheral
15├── interfaces
16    └── inner_api                      #IOT设备操作接口,对外接口存放目录
17```
18
19## 约束<a name="section1718733212019"></a>
20
21子系统使用C语言编写,目前仅支持Hi3861开发板。如果您想接入其它芯片,那么仅需要适配实现鸿蒙的集成接口即可。
22
23