sngks32ctimer.h

来自「刚开始学习44b」· C头文件 代码 · 共 37 行

H
37
字号
/* sngks32cTimer.h - Samsung KS32C Timer driver header file *//* Copyright 1984-2001 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01a,12apr01,m_h  created from snds100 template.*/#ifndef __INCsngks32cTimerh#define __INCsngks32cTimerh #ifdef __cplusplusextern "C" {#endif /* register definitions */#define S3C44B0_TIMER_TMOD	(ASIC_BASE + 0x150008) /* TMOD    (R/W) */#define S3C44B0_TIMER_TDATA_0	(ASIC_BASE + 0x15000c) /* TDATA0  (R/W) */#define S3C44B0_TIMER_TDATA_1	(ASIC_BASE + 0x150018) /* TDATA1  (R/W) */#define S3C44B0_TIMER_TCNT_0	(ASIC_BASE + 0x150014) /* TCNT0   (R/W) */#define S3C44B0_TIMER_TCNT_1	(ASIC_BASE + 0x150020) /* TCNT1   (R/W) *//* set up timers for intrerval mode, don't enable yet */#define S3C44B0_TIMER_INITIALIZE     0x0#define S3C44B0_TIMER0_AUTO_RLOAD   0x5#define S3C44B0_TIMER0_HAND_RLOAD   0x3#define S3C44B0_TIMER1_AUTO_RLOAD   0x120#define S3C44B0_TIMER1_HAND_RLOAD   0x6#ifdef __cplusplus}#endif #endif  /* __INCsngks32cTimerh */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?