   1                     ; C Compiler for STM8 (COSMIC Software)
   2                     ; Parser V4.12.9 - 19 Apr 2023
   3                     ; Generator (Limited) V4.5.6 - 18 Jul 2023
  45                     ; 3 void InitSPI(void)
  45                     ; 4 {   
  47                     .text:	section	.text,new
  48  0000               _InitSPI:
  52                     ; 5 	GPIO_Init(GPIOE, SPI_CS, GPIO_MODE_OUT_PP_HIGH_FAST); //Æ¬Ñ¡ 
  54  0000 4bf0          	push	#240
  55  0002 4b20          	push	#32
  56  0004 ae5014        	ldw	x,#20500
  57  0007 cd0000        	call	_GPIO_Init
  59  000a 85            	popw	x
  60                     ; 6 	GPIO_Init(GPIOC, SPI_OE, GPIO_MODE_OUT_PP_HIGH_FAST); //OE  
  62  000b 4bf0          	push	#240
  63  000d 4b10          	push	#16
  64  000f ae500a        	ldw	x,#20490
  65  0012 cd0000        	call	_GPIO_Init
  67  0015 85            	popw	x
  68                     ; 7 	GPIO_Init(GPIOC, SPI_CLK, GPIO_MODE_OUT_PP_LOW_FAST);//clock
  70  0016 4be0          	push	#224
  71  0018 4b20          	push	#32
  72  001a ae500a        	ldw	x,#20490
  73  001d cd0000        	call	_GPIO_Init
  75  0020 85            	popw	x
  76                     ; 9 	GPIO_Init(GPIOC, SPI_MOSI, GPIO_MODE_OUT_PP_HIGH_FAST); //Êä³ö
  78  0021 4bf0          	push	#240
  79  0023 4b40          	push	#64
  80  0025 ae500a        	ldw	x,#20490
  81  0028 cd0000        	call	_GPIO_Init
  83  002b 85            	popw	x
  84                     ; 10 	GPIO_Init(GPIOC, SPI_MISO, GPIO_MODE_IN_PU_NO_IT); //ÊäÈë
  86  002c 4b40          	push	#64
  87  002e 4b80          	push	#128
  88  0030 ae500a        	ldw	x,#20490
  89  0033 cd0000        	call	_GPIO_Init
  91  0036 85            	popw	x
  92                     ; 12 }
  95  0037 81            	ret
 203                     	xdef	_InitSPI
 204                     	xref	_GPIO_Init
 223                     	end
