IoT Hardware
Introduction
The 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.
Directory Structure
/base/iothardware/peripheral
├── interfaces
└── inner_api # APIs for operating IoT devices
Constraints
The 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.