4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-22 22:47:33 +08:00
2024-01-09 21:56:37 +08:00

55 lines
1.7 KiB
C

/*
* Copyright (C) 2022-2024, Xiaohua Semiconductor Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-05-12 CDT first version
*/
#ifndef __DRV_DAC_H__
#define __DRV_DAC_H__
/*******************************************************************************
* Include files
******************************************************************************/
/* C binding of definitions if building with C++ compiler */
#ifdef __cplusplus
extern "C"
{
#endif
/*******************************************************************************
* Global type definitions ('typedef')
******************************************************************************/
struct dac_dev_init_params
{
char name[8];
};
/*******************************************************************************
* Global pre-processor symbols/macros ('#define')
******************************************************************************/
/*******************************************************************************
* Global variable definitions ('extern')
******************************************************************************/
/*******************************************************************************
* Global function prototypes (definition in C source)
******************************************************************************/
int rt_hw_dac_init(void);
#ifdef __cplusplus
}
#endif
#endif /* __DRV_DAC_H__ */
/*******************************************************************************
* EOF (not truncated)
******************************************************************************/