📄 dac.h
字号:
/*= dac.c ======================================================================
*
* Copyright (C) 2005 Nordic Semiconductor
*
* This file is distributed in the hope that it will be useful, but WITHOUT
* WARRANTY OF ANY KIND.
*
* Author(s): B鴕ge Strand
*
* Compiler: Tested with WinAVR, avr-gcc (GCC) 3.4.3
*
* Revision: 1.0
*
*==============================================================================
*/
// Use the same .h file for all DACs! That is because all dac_yyyy.c files must implement the
// same functions. Therefore: NO DAc-chip-specific defines here. Keep those in dac_yyyy.c
// Only include this file once
#ifndef DAC_H
#define DAC_H
// Local includes
#include "mcu.h"
#include "z1slaveio.h"
#include "main.h"
#include "uartdebug.h"
// Turn on the DAC
char dac_init(void);
// Volume control
char dac_volume_up(void);
char dac_volume_down(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -