stm8s_rst.ls
来自「STM8-触摸例程」· LS 代码 · 共 24 行
LS
24 行
1 ; C Compiler for STM8 (COSMIC Software)
2 ; Generator V4.2.8 - 03 Dec 2008
3 ; Optimizer V4.2.8 - 03 Dec 2008
107 ; 65 FlagStatus RST_GetFlagStatus(RST_Flag_TypeDef RST_Flag)
107 ; 66 {
109 switch .text
110 0000 _RST_GetFlagStatus:
114 ; 68 assert_param(IS_RST_FLAG_OK(RST_Flag));
116 ; 72 return ((FlagStatus)((u8)RST->SR & (u8)RST_Flag));
118 0000 c450b3 and a,20659
121 0003 81 ret
156 ; 90 void RST_ClearFlag(RST_Flag_TypeDef RST_Flag)
156 ; 91 {
157 switch .text
158 0004 _RST_ClearFlag:
162 ; 93 assert_param(IS_RST_FLAG_OK(RST_Flag));
164 ; 95 RST->SR = (u8)RST_Flag;
166 0004 c750b3 ld 20659,a
167 ; 96 }
170 0007 81 ret
183 xdef _RST_ClearFlag
184 xdef _RST_GetFlagStatus
203 end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?