/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2012-2019. All rights reserved. * Description: supply the api for userspace application */ #ifndef UAPI_PWM_H #define UAPI_PWM_H #include "td_type.h" #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /* Define the PWM attributes */ /* CNcomment: 定义PWM属性结构体 */ typedef struct { /* < Frequency(HZ) */ /* < CNcomment: 频率, 单位HZ */ td_u32 pwm_frequency; /* < Duty ratio(calculated to three decimal places) */ /* *