You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd.. 2021-2021. All rights reserved.
|
|
* Description:
|
|
* Author:
|
|
* Create: 2021-05-12
|
|
* Note:
|
|
*/
|
|
|
|
/********************************************************************************************/
|
|
/* Includes */
|
|
/********************************************************************************************/
|
|
#include "pwm_fileops.h"
|
|
|
|
/********************************************************************************************
|
|
Function Implementation
|
|
********************************************************************************************/
|
|
static td_s32 _pwm_fileops_open(void *private_data)
|
|
{
|
|
return TD_SUCCESS;
|
|
}
|
|
|
|
static td_s32 _pwm_fileops_close(void *private_data)
|
|
{
|
|
return TD_SUCCESS;
|
|
}
|
|
|
|
static osal_fileops g_pwm_fileops = {
|
|
.read = TD_NULL,
|
|
.write = TD_NULL,
|
|
.open = _pwm_fileops_open,
|
|
.release = _pwm_fileops_close,
|
|
.cmd_list = TD_NULL,
|
|
.cmd_cnt = 0,
|
|
};
|
|
|
|
osal_fileops* pwm_fileops_get_instance(td_void)
|
|
{
|
|
return &g_pwm_fileops;
|
|
}
|