2022-09-18 21:32:56 +08:00
|
|
|
/*
|
2023-02-09 12:01:20 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2022-09-18 21:32:56 +08:00
|
|
|
*
|
|
|
|
* 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
|