rt-thread/bsp/wch/risc-v/Libraries/ch32_drivers/drv_dac.h

23 lines
485 B
C
Raw Normal View History

2022-09-18 21:32:56 +08:00
/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-09-09 WCH the first version
* 2022-09-17 hg0720 add some operation function
*/
#ifndef DRV_DAC_H__
#define DRV_DAC_H__
typedef struct
{
DAC_TypeDef *Instance;
DAC_InitTypeDef Init;
rt_uint32_t Channel;
}DAC_HandleTypeDef;
#endif