📄 lt_hr.h
字号:
/*
*******************************************************************************
COPYRIGHT 2003 STMicroelectronics
Source File Name : lt_hr.h
Group : IPSW,CMG-IPDF.
Author : MCD Application Team
Date First Issued: 8/3/2002
********************************Documentation**********************************
General Purpose - Declaration of constants for magic nos used in lt.c.
********************************RevisionHistory********************************
______________________________________________________________________________
Date:8/3/2002 Release:1.0
Date :23/9/2003 Release : 2.0
1.Removed the mapping of hardware registers.
2.Defined constants for magic numbers used in lt.c.
3.Included the comments.
Date :28/04/04 MISRA changes
******************************************************************************/
#ifndef LT_HR_H
#define LT_HR_H /* to avoid multiple inclusion */
/* Constant definitions for the magic numbers used in lt.c */
/* Constants for LT Control/Status Register 1 */
#define LT_ENABLE_WDG 0x02
#define LT_TB_1_SET 0xDF
#define LT_TB_2_SET 0x20
#define LT_WDG_DELAY_RESET 0x01
#define LT_WDG_FORCD_RESET 0x04
#define LT_TBF_FLAG 0x08
#define LT_TB1F_FLAG 0x08
#define LT_ICF_FLAG 0x40
#define LT_WDGRF_FLAG 0x04
/* Constants for LT Control/Status Register 2 */
#define LT_TB2_IT_SET 0x02
#define LT_TB2_IT_RESET 0xFD
#define LT_TB2F_FLAG 0x01
#endif /* LT_HR_H */
/********** (c) 2003 STMicroelectronics ********************* END OF FILE **/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -