porting-smallchip-driver-overview.md 876 字节
Newer Older
D
duangavin123 已提交
1
# Overview<a name="EN-US_TOPIC_0000001154372312"></a>
D
duangavin123 已提交
2

D
duangavin123 已提交
3
Drivers can be classified as platform drivers or device drivers. The platform drivers are generally in the SoC, such as the GPIO, I2C, and SPI drivers. The device drivers are typically outside of the SoC, such as the LCD, TP, and WLAN drivers.
D
duangavin123 已提交
4

D
duangavin123 已提交
5 6
**Figure  1**  OpenHarmony driver classification<a name="fig08631434121"></a>  
![](figure/openharmony-driver-classification.png "openharmony-driver-classification")
D
duangavin123 已提交
7

D
duangavin123 已提交
8
The Hardware Driver Foundation \(HDF\) is designed to work across OSs. The HDF driver framework provides strong support for drivers to achieve this goal. During HDF driver development, you are advised to use only the APIs provided by the HDF driver framework. Otherwise, the driver cannot be used across OSs. Before driver development, familiarize yourself with the  [HDF](../driver/driver-hdf-overview.md).
D
duangavin123 已提交
9