mc_stm8s_keys.ls

来自「STM8S105 BLDC源代码」· LS 代码 · 共 20 行

LS
20
字号
   1                     ; C Compiler for STM8 (COSMIC Software)
   2                     ; Parser V4.9.10 - 10 Feb 2011
   3                     ; Generator (Limited) V4.3.6 - 15 Feb 2011
   4                     ; Optimizer V4.3.5 - 15 Feb 2011
  48                     ; 31 void dev_keysInit(void)
  48                     ; 32 {
  50                     	switch	.text
  51  0000               _dev_keysInit:
  55                     ; 44 		GPIO_Init(USER_BUTTON_PORT, USER_BUTTON_BIT, GPIO_MODE_IN_FL_NO_IT);
  57  0000 4b00          	push	#0
  58  0002 4b40          	push	#64
  59  0004 ae500f        	ldw	x,#20495
  60  0007 cd0000        	call	_GPIO_Init
  62  000a 85            	popw	x
  63                     ; 46 }
  66  000b 81            	ret	
  79                     	xref	_GPIO_Init
  80                     	xdef	_dev_keysInit
  99                     	end

⌨️ 快捷键说明

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