mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-08-27 02:42:28 -04:00
!513 rename hdf_platform.h to platform_if.h
Merge pull request !513 from NickYang/master
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#ifndef ADC_IF_H
|
||||
#define ADC_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#ifndef DAC_IF_H
|
||||
#define DAC_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#ifndef GPIO_IF_H
|
||||
#define GPIO_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
#include "osal_irq.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#ifndef HDMI_IF_H
|
||||
#define HDMI_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#ifndef I2C_IF_H
|
||||
#define I2C_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef I2S_IF_H
|
||||
#define I2S_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#ifndef I3C_IF_H
|
||||
#define I3C_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
#include "i3c_ccc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifndef MIPI_CSI_IF_H
|
||||
#define MIPI_CSI_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifndef MIPI_DSI_IF_H
|
||||
#define MIPI_DSI_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#ifndef MMC_IF_H
|
||||
#define MMC_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#ifndef PIN_IF_H
|
||||
#define PIN_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file hdf_platform.h
|
||||
* @file platform_if.h
|
||||
*
|
||||
* @brief Declares common APIs of the platform driver.
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
#ifndef HDF_PLATFORM_H
|
||||
#define HDF_PLATFORM_H
|
||||
#ifndef PLATFORM_IF_H
|
||||
#define PLATFORM_IF_H
|
||||
|
||||
#include "hdf_base.h"
|
||||
|
||||
@@ -52,5 +52,5 @@ typedef void* DevHandle;
|
||||
#endif
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* HDF_PLATFORM_H */
|
||||
#endif /* PLATFORM_IF_H */
|
||||
/** @} */
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifndef PWM_IF_H
|
||||
#define PWM_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#ifndef REGULATOR_IF_H
|
||||
#define REGULATOR_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifndef RTC_IF_H
|
||||
#define RTC_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef SPI_IF_H
|
||||
#define SPI_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#ifndef UART_IF_H
|
||||
#define UART_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#ifndef WATCHDOG_IF_H
|
||||
#define WATCHDOG_IF_H
|
||||
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "data_fifo.h"
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
#include "implementation/global_implementation.h"
|
||||
#include "usb_ddk_interface.h"
|
||||
#include "usb_raw_api.h"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "data_fifo.h"
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
#include "implementation/global_implementation.h"
|
||||
#include "usb_ddk.h"
|
||||
#include "usb_ddk_interface.h"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define EMMC_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
enum EmmcTestCmd {
|
||||
EMMC_GET_CID_01 = 0,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define HDMI_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
enum HdmiTestCmd {
|
||||
HDMI_START_AND_STOP_01 = 0,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define I2S_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
enum I2sTestCmd {
|
||||
I2S_SET_CFG_TEST,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define REGULATOR_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
#ifdef REGULATOR_TEST_PRINTK_OPEN
|
||||
#define REGULATOR_TEST_PRINT_LOG_DBG(fmt, arg...) \
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define SDIO_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
#include "sdio_if.h"
|
||||
|
||||
enum SdioTestCmd {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define SPI_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
enum SpiTestCmd {
|
||||
SPI_TRANSFER_TEST,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define UART_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
enum UartTestCmd {
|
||||
UAER_WRITE_TEST = 0,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define WATCHDOG_TEST_H
|
||||
|
||||
#include "hdf_device_desc.h"
|
||||
#include "hdf_platform.h"
|
||||
#include "platform_if.h"
|
||||
|
||||
enum WatchdogTestCmd {
|
||||
WATCHDOG_TEST_SET_GET_TIMEOUT = 0,
|
||||
|
||||
Reference in New Issue
Block a user