stm8s_rst.ls
来自「STM8全部资料」· LS 代码 · 共 24 行
LS
24 行
1 ; C Compiler for STM8 (COSMIC Software)
2 ; Parser V4.8.32.1 - 30 Mar 2010
3 ; Generator V4.3.4 - 23 Mar 2010
117 ; 65 FlagStatus RST_GetFlagStatus(RST_Flag_TypeDef RST_Flag)
117 ; 66 {
119 switch .text
120 0000 _RST_GetFlagStatus:
124 ; 68 assert_param(IS_RST_FLAG_OK(RST_Flag));
126 ; 72 return ((FlagStatus)((u8)RST->SR & (u8)RST_Flag));
128 0000 c450b3 and a,20659
131 0003 81 ret
166 ; 90 void RST_ClearFlag(RST_Flag_TypeDef RST_Flag)
166 ; 91 {
167 switch .text
168 0004 _RST_ClearFlag:
172 ; 93 assert_param(IS_RST_FLAG_OK(RST_Flag));
174 ; 95 RST->SR = (u8)RST_Flag;
176 0004 c750b3 ld 20659,a
177 ; 96 }
180 0007 81 ret
193 xdef _RST_ClearFlag
194 xdef _RST_GetFlagStatus
213 end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?