summaryrefslogtreecommitdiff
path: root/bsp/wch/risc-v/libraries/ch32_drivers/drv_dac.h
blob: 68bb4407a2eb8ea91e3c1bfa98b47baa6f8c4fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2006-2023, 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