sa1100Timer.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* sa1100Timer.h - Digital Semiconductor SA-1100 timer header file */
  2. /* Copyright 1997-1998 Wind River Systems, Inc. */
  3.  
  4. /*
  5. modification history
  6. --------------------
  7. 01d,15dec97,cdp  created from 01d of cma220.
  8. */
  9.  
  10. #ifndef __INCsa1100Timerh
  11. #define __INCsa1100Timerh
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. /* register definitions */
  18.  
  19. #define SA1100_TIMER_CSR_OSCR (SA1100_TIMER_BASE + 0x10) /* OSCR    (R/W) */
  20. #define SA1100_TIMER_CSR_OSMR_0 (SA1100_TIMER_BASE + 0x00) /* OSMR[0] (R/W) */
  21. #define SA1100_TIMER_CSR_OSMR_1 (SA1100_TIMER_BASE + 0x04) /* OSMR[1] (R/W) */
  22. #define SA1100_TIMER_CSR_OSMR_2 (SA1100_TIMER_BASE + 0x08) /* OSMR[2] (R/W) */
  23. #define SA1100_TIMER_CSR_OSSR (SA1100_TIMER_BASE + 0x14) /* OSSR    (R/W) */
  24. #define SA1100_TIMER_CSR_OIER (SA1100_TIMER_BASE + 0x1C) /* OIER    (R/W) */
  25.  
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29.  
  30. #endif  /* __INCsa1100Timerh */