acprd_freqout.h
来自「source code for a sample alarm control p」· C头文件 代码 · 共 28 行
H
28 行
//=============================================================================
// File: ACPRD_FREQOUT.H - V1.00
// Rem.: The ACPRD Project Page on the Web -> http://hc12web.de/acprd
//=============================================================================
#ifndef __ACPRD_FREQOUT_H
#define __ACPRD_FREQOUT_H
//-- Includes -----------------------------------------------------------------
//-- Definitions --------------------------------------------------------------
// main timer prescaler "factor"
// Caution: if you are going to change this, also check implementation
// in freqout.c and other timer (ECT) related modules!
#define TIMER_TCNT_PRE 16
//-- Extern Declarations ------------------------------------------------------
//-- Function Prototypes ------------------------------------------------------
void initFreqOut(void);
void setFreqOut(UINT16 period);
void isrOC2(void);
#endif //__ACPRD_FREQOUT_H ====================================================
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?