?? lptmr.h
字號:
/*
* File: lpt.h
* Purpose: Low Power Timer header file
*
*/
#ifndef __lptmr_H__
#define __lptmr_H__
#include "common.h"
//Pin Select constants for CSR[TPS]
#define HSCMP 0x0
#define LPTMR_ALT1 0x1
#define LPTMR_ALT2 0x2
#define LPTMR_ALT3 0x3
//CSR[TPP] constants
#define RISING 0
#define FALLING LPTMR_CSR_TPP_MASK
void lptmr_clear_registers();
void lptmr_time_counter();
void lptmr_prescale();
void lptmr_internal_ref_input();
void lptmr_lpo_input();
void lptmr_32khz_input();
void lptmr_external_clk_input();
void lptmr_interrupt();
void lptmr_pulse_counter(char pin_select);
#endif /* __UART_H__ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -