ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 1


   1              		.syntax unified
   2              		.cpu cortex-m3
   3              		.fpu softvfp
   4              		.eabi_attribute 20, 1
   5              		.eabi_attribute 21, 1
   6              		.eabi_attribute 23, 3
   7              		.eabi_attribute 24, 1
   8              		.eabi_attribute 25, 1
   9              		.eabi_attribute 26, 1
  10              		.eabi_attribute 30, 1
  11              		.eabi_attribute 34, 1
  12              		.eabi_attribute 18, 4
  13              		.thumb
  14              		.syntax unified
  15              		.file	"I2C_1_MASTER.c"
  16              		.text
  17              	.Ltext0:
  18              		.cfi_sections	.debug_frame
  19              		.section	.text.I2C_1_MasterWriteBuf,"ax",%progbits
  20              		.align	2
  21              		.global	I2C_1_MasterWriteBuf
  22              		.thumb
  23              		.thumb_func
  24              		.type	I2C_1_MasterWriteBuf, %function
  25              	I2C_1_MasterWriteBuf:
  26              	.LFB0:
  27              		.file 1 "Generated_Source\\PSoC5\\I2C_1_MASTER.c"
   1:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
   2:Generated_Source\PSoC5/I2C_1_MASTER.c **** * File Name: I2C_1_MASTER.c
   3:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Version 3.50
   4:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
   5:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Description:
   6:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  This file provides the source code of APIs for the I2C component master mode.
   7:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
   8:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************
   9:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Copyright 2012-2015, Cypress Semiconductor Corporation. All rights reserved.
  10:Generated_Source\PSoC5/I2C_1_MASTER.c **** * You may use this file only in accordance with the license, terms, conditions,
  11:Generated_Source\PSoC5/I2C_1_MASTER.c **** * disclaimers, and limitations in the end user license agreement accompanying
  12:Generated_Source\PSoC5/I2C_1_MASTER.c **** * the software package with which this file was provided.
  13:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
  14:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  15:Generated_Source\PSoC5/I2C_1_MASTER.c **** #include "I2C_1_PVT.h"
  16:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  17:Generated_Source\PSoC5/I2C_1_MASTER.c **** #if(I2C_1_MODE_MASTER_ENABLED)
  18:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  19:Generated_Source\PSoC5/I2C_1_MASTER.c **** /**********************************
  20:Generated_Source\PSoC5/I2C_1_MASTER.c **** *      System variables
  21:Generated_Source\PSoC5/I2C_1_MASTER.c **** **********************************/
  22:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  23:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8 I2C_1_mstrStatus;     /* Master Status byte  */
  24:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8 I2C_1_mstrControl;    /* Master Control byte */
  25:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  26:Generated_Source\PSoC5/I2C_1_MASTER.c **** /* Transmit buffer variables */
  27:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8 * I2C_1_mstrRdBufPtr;     /* Pointer to Master Read buffer */
  28:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8   I2C_1_mstrRdBufSize;    /* Master Read buffer size       */
  29:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8   I2C_1_mstrRdBufIndex;   /* Master Read buffer Index      */
  30:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 2


  31:Generated_Source\PSoC5/I2C_1_MASTER.c **** /* Receive buffer variables */
  32:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8 * I2C_1_mstrWrBufPtr;     /* Pointer to Master Write buffer */
  33:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8   I2C_1_mstrWrBufSize;    /* Master Write buffer size       */
  34:Generated_Source\PSoC5/I2C_1_MASTER.c **** volatile uint8   I2C_1_mstrWrBufIndex;   /* Master Write buffer Index      */
  35:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  36:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  37:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
  38:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterWriteBuf
  39:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
  40:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  41:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
  42:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Automatically writes an entire buffer of data to a slave device. Once the
  43:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  data transfer is initiated by this function, further data transfer is handled
  44:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  by the included ISR in byte by byte mode.
  45:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  46:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
  47:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  slaveAddr: 7-bit slave address.
  48:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  xferData:  Pointer to buffer of data to be sent.
  49:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  cnt:       Size of buffer to send.
  50:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  mode:      Transfer mode defines: start or restart condition generation at
  51:Generated_Source\PSoC5/I2C_1_MASTER.c **** *             begin of the transfer and complete the transfer or halt before
  52:Generated_Source\PSoC5/I2C_1_MASTER.c **** *             generating a stop.
  53:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  54:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
  55:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Status error - Zero means no errors.
  56:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  57:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
  58:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  The included ISR will start a transfer after a start or restart condition is
  59:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  generated.
  60:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  61:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
  62:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrStatus  - The global variable used to store a current
  63:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 status of the I2C Master.
  64:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state       - The global variable used to store a current
  65:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 state of the software FSM.
  66:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrControl - The global variable used to control the master
  67:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 end of a transaction with or without Stop
  68:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 generation.
  69:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrWrBufPtr - The global variable used to store a pointer
  70:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                  to the master write buffer.
  71:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrWrBufIndex - The global variable used to store current
  72:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                    index within the master write buffer.
  73:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrWrBufSize - The global variable used to store a master
  74:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                   write buffer size.
  75:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  76:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
  77:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No
  78:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
  79:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
  80:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterWriteBuf(uint8 slaveAddress, uint8 * wrData, uint8 cnt, uint8 mode)
  81:Generated_Source\PSoC5/I2C_1_MASTER.c ****       
  82:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
  28              		.loc 1 82 0
  29              		.cfi_startproc
  30              		@ args = 0, pretend = 0, frame = 0
  31              		@ frame_needed = 0, uses_anonymous_args = 0
  32              		@ link register save eliminated.
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 3


  33              	.LVL0:
  83:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
  84:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  85:Generated_Source\PSoC5/I2C_1_MASTER.c ****     errStatus = I2C_1_MSTR_NOT_READY;
  86:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  87:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(NULL != wrData)
  34              		.loc 1 87 0
  35 0000 0029     		cmp	r1, #0
  36 0002 48D0     		beq	.L7
  82:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
  37              		.loc 1 82 0
  38 0004 70B4     		push	{r4, r5, r6}
  39              		.cfi_def_cfa_offset 12
  40              		.cfi_offset 4, -12
  41              		.cfi_offset 5, -8
  42              		.cfi_offset 6, -4
  43 0006 0C46     		mov	r4, r1
  88:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
  89:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Check I2C state to allow transfer: valid states are IDLE or HALT */
  90:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_SM_IDLE == I2C_1_state)
  44              		.loc 1 90 0
  45 0008 2649     		ldr	r1, .L12
  46              	.LVL1:
  47 000a 0978     		ldrb	r1, [r1]	@ zero_extendqisi2
  48 000c C9B2     		uxtb	r1, r1
  49 000e 1029     		cmp	r1, #16
  50 0010 06D1     		bne	.L3
  91:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
  92:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Master is ready for transaction: check if bus is free */
  93:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_BUS_FREE(I2C_1_MCSR_REG))
  51              		.loc 1 93 0
  52 0012 2549     		ldr	r1, .L12+4
  53 0014 0978     		ldrb	r1, [r1]	@ zero_extendqisi2
  54 0016 11F0080F 		tst	r1, #8
  55 001a 11D1     		bne	.L8
  94:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
  95:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_NO_ERROR;
  56              		.loc 1 95 0
  57 001c 0021     		movs	r1, #0
  58 001e 12E0     		b	.L4
  59              	.L3:
  96:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
  97:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
  98:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
  99:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_BUS_BUSY;
 100:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 101:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 102:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else if(I2C_1_SM_MSTR_HALT == I2C_1_state)
  60              		.loc 1 102 0
  61 0020 2049     		ldr	r1, .L12
  62 0022 0978     		ldrb	r1, [r1]	@ zero_extendqisi2
  63 0024 C9B2     		uxtb	r1, r1
  64 0026 6029     		cmp	r1, #96
  65 0028 0CD1     		bne	.L9
  66              	.LVL2:
 103:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 104:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Master is ready and waiting for ReStart */
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 4


 105:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_NO_ERROR;
 106:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 107:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_ClearPendingInt();
  67              		.loc 1 107 0
  68 002a 4FF40045 		mov	r5, #32768
  69 002e 1F49     		ldr	r1, .L12+8
  70 0030 0D60     		str	r5, [r1]
 108:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrStatus &= (uint8) ~I2C_1_MSTAT_XFER_HALT;
  71              		.loc 1 108 0
  72 0032 1F4D     		ldr	r5, .L12+12
  73 0034 2978     		ldrb	r1, [r5]	@ zero_extendqisi2
  74 0036 01F0F701 		and	r1, r1, #247
  75 003a 2970     		strb	r1, [r5]
 105:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  76              		.loc 1 105 0
  77 003c 0021     		movs	r1, #0
  78 003e 02E0     		b	.L4
  79              	.LVL3:
  80              	.L8:
  99:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
  81              		.loc 1 99 0
  82 0040 0121     		movs	r1, #1
  83 0042 00E0     		b	.L4
  84              	.L9:
  85:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
  85              		.loc 1 85 0
  86 0044 0221     		movs	r1, #2
  87              	.LVL4:
  88              	.L4:
 109:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 110:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 111:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 112:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* errStatus = I2C_1_MSTR_NOT_READY was send before */
 113:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 114:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 115:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_MSTR_NO_ERROR == errStatus)
  89              		.loc 1 115 0
  90 0046 49BB     		cbnz	r1, .L2
 116:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 117:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Set state to start write transaction */
 118:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_WR_ADDR;
  91              		.loc 1 118 0
  92 0048 4526     		movs	r6, #69
  93 004a 164D     		ldr	r5, .L12
  94 004c 2E70     		strb	r6, [r5]
 119:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 120:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Prepare write buffer */
 121:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrWrBufIndex = 0u;
  95              		.loc 1 121 0
  96 004e 0026     		movs	r6, #0
  97 0050 184D     		ldr	r5, .L12+16
  98 0052 2E70     		strb	r6, [r5]
 122:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrWrBufSize  = cnt;
  99              		.loc 1 122 0
 100 0054 184D     		ldr	r5, .L12+20
 101 0056 2A70     		strb	r2, [r5]
 123:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrWrBufPtr   = (volatile uint8 *) wrData;
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 5


 102              		.loc 1 123 0
 103 0058 184A     		ldr	r2, .L12+24
 104              	.LVL5:
 105 005a 1460     		str	r4, [r2]
 124:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 125:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Set end of transaction flag: Stop or Halt (following ReStart) */
 126:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrControl = mode;
 106              		.loc 1 126 0
 107 005c 184A     		ldr	r2, .L12+28
 108 005e 1370     		strb	r3, [r2]
 109              	.LVL6:
 127:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 128:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Clear write status history */
 129:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrStatus &= (uint8) ~I2C_1_MSTAT_WR_CMPLT;
 110              		.loc 1 129 0
 111 0060 134C     		ldr	r4, .L12+12
 112              	.LVL7:
 113 0062 2278     		ldrb	r2, [r4]	@ zero_extendqisi2
 114 0064 02F0FD02 		and	r2, r2, #253
 115 0068 2270     		strb	r2, [r4]
 130:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 131:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Hardware actions: write address and generate Start or ReStart */
 132:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_DATA_REG = (uint8) (slaveAddress << I2C_1_SLAVE_ADDR_SHIFT);
 116              		.loc 1 132 0
 117 006a 4200     		lsls	r2, r0, #1
 118 006c D2B2     		uxtb	r2, r2
 119 006e 1548     		ldr	r0, .L12+32
 120              	.LVL8:
 121 0070 0270     		strb	r2, [r0]
 122              	.LVL9:
 133:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 134:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_RESTART(mode))
 123              		.loc 1 134 0
 124 0072 13F0010F 		tst	r3, #1
 125 0076 06D0     		beq	.L5
 135:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 136:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_GENERATE_RESTART;
 126              		.loc 1 136 0
 127 0078 1222     		movs	r2, #18
 128 007a 0B4B     		ldr	r3, .L12+4
 129              	.LVL10:
 130 007c 1A70     		strb	r2, [r3]
 131 007e 0422     		movs	r2, #4
 132 0080 023B     		subs	r3, r3, #2
 133 0082 1A70     		strb	r2, [r3]
 134 0084 02E0     		b	.L6
 135              	.LVL11:
 136              	.L5:
 137:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 138:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 139:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 140:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_GENERATE_START;
 137              		.loc 1 140 0
 138 0086 0122     		movs	r2, #1
 139 0088 074B     		ldr	r3, .L12+4
 140              	.LVL12:
 141 008a 1A70     		strb	r2, [r3]
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 6


 142              	.L6:
 141:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 142:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 143:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Enable interrupt to complete transfer */
 144:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_EnableInt();
 143              		.loc 1 144 0
 144 008c 4FF40042 		mov	r2, #32768
 145 0090 0D4B     		ldr	r3, .L12+36
 146 0092 1A60     		str	r2, [r3]
 147 0094 02E0     		b	.L2
 148              	.LVL13:
 149              	.L7:
 150              		.cfi_def_cfa_offset 0
 151              		.cfi_restore 4
 152              		.cfi_restore 5
 153              		.cfi_restore 6
  85:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 154              		.loc 1 85 0
 155 0096 0221     		movs	r1, #2
 156              	.LVL14:
 145:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 146:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 147:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 148:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(errStatus);
 149:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 157              		.loc 1 149 0
 158 0098 0846     		mov	r0, r1
 159              	.LVL15:
 160 009a 7047     		bx	lr
 161              	.LVL16:
 162              	.L2:
 163              		.cfi_def_cfa_offset 12
 164              		.cfi_offset 4, -12
 165              		.cfi_offset 5, -8
 166              		.cfi_offset 6, -4
 167 009c 0846     		mov	r0, r1
 168 009e 70BC     		pop	{r4, r5, r6}
 169              		.cfi_restore 6
 170              		.cfi_restore 5
 171              		.cfi_restore 4
 172              		.cfi_def_cfa_offset 0
 173 00a0 7047     		bx	lr
 174              	.L13:
 175 00a2 00BF     		.align	2
 176              	.L12:
 177 00a4 00000000 		.word	I2C_1_state
 178 00a8 D9490040 		.word	1073760729
 179 00ac 80E200E0 		.word	-536812928
 180 00b0 00000000 		.word	I2C_1_mstrStatus
 181 00b4 00000000 		.word	I2C_1_mstrWrBufIndex
 182 00b8 00000000 		.word	I2C_1_mstrWrBufSize
 183 00bc 00000000 		.word	I2C_1_mstrWrBufPtr
 184 00c0 00000000 		.word	I2C_1_mstrControl
 185 00c4 D8490040 		.word	1073760728
 186 00c8 00E100E0 		.word	-536813312
 187              		.cfi_endproc
 188              	.LFE0:
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 7


 189              		.size	I2C_1_MasterWriteBuf, .-I2C_1_MasterWriteBuf
 190              		.section	.text.I2C_1_MasterReadBuf,"ax",%progbits
 191              		.align	2
 192              		.global	I2C_1_MasterReadBuf
 193              		.thumb
 194              		.thumb_func
 195              		.type	I2C_1_MasterReadBuf, %function
 196              	I2C_1_MasterReadBuf:
 197              	.LFB1:
 150:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 151:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 152:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 153:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterReadBuf
 154:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 155:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 156:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 157:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Automatically writes an entire buffer of data to a slave device. Once the
 158:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  data transfer is initiated by this function, further data transfer is handled
 159:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  by the included ISR in byte by byte mode.
 160:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 161:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 162:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  slaveAddr: 7-bit slave address.
 163:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  xferData:  Pointer to buffer where to put data from slave.
 164:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  cnt:       Size of buffer to read.
 165:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  mode:      Transfer mode defines: start or restart condition generation at
 166:Generated_Source\PSoC5/I2C_1_MASTER.c **** *             begin of the transfer and complete the transfer or halt before
 167:Generated_Source\PSoC5/I2C_1_MASTER.c **** *             generating a stop.
 168:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 169:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 170:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Status error - Zero means no errors.
 171:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 172:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
 173:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  The included ISR will start a transfer after start or restart condition is
 174:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  generated.
 175:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 176:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 177:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrStatus  - The global variable used to store a current
 178:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 status of the I2C Master.
 179:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state       - The global variable used to store a current
 180:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 state of the software FSM.
 181:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrControl - The global variable used to control the master
 182:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 end of a transaction with or without
 183:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                 Stop generation.
 184:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrRdBufPtr - The global variable used to store a pointer
 185:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                  to the master write buffer.
 186:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrRdBufIndex - The global variable  used to store a
 187:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                    current index within the master
 188:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                    write buffer.
 189:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrRdBufSize - The global variable used to store a master
 190:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                   write buffer size.
 191:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 192:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 193:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 194:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 195:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 196:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterReadBuf(uint8 slaveAddress, uint8 * rdData, uint8 cnt, uint8 mode)
 197:Generated_Source\PSoC5/I2C_1_MASTER.c ****       
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 8


 198:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 198              		.loc 1 198 0
 199              		.cfi_startproc
 200              		@ args = 0, pretend = 0, frame = 0
 201              		@ frame_needed = 0, uses_anonymous_args = 0
 202              		@ link register save eliminated.
 203              	.LVL17:
 199:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
 200:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 201:Generated_Source\PSoC5/I2C_1_MASTER.c ****     errStatus = I2C_1_MSTR_NOT_READY;
 202:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 203:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(NULL != rdData)
 204              		.loc 1 203 0
 205 0000 0029     		cmp	r1, #0
 206 0002 4AD0     		beq	.L20
 198:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
 207              		.loc 1 198 0
 208 0004 70B4     		push	{r4, r5, r6}
 209              		.cfi_def_cfa_offset 12
 210              		.cfi_offset 4, -12
 211              		.cfi_offset 5, -8
 212              		.cfi_offset 6, -4
 213 0006 0C46     		mov	r4, r1
 204:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
 205:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Check I2C state to allow transfer: valid states are IDLE or HALT */
 206:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_SM_IDLE == I2C_1_state)
 214              		.loc 1 206 0
 215 0008 2749     		ldr	r1, .L25
 216              	.LVL18:
 217 000a 0978     		ldrb	r1, [r1]	@ zero_extendqisi2
 218 000c C9B2     		uxtb	r1, r1
 219 000e 1029     		cmp	r1, #16
 220 0010 06D1     		bne	.L16
 207:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 208:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Master is ready to transaction: check if bus is free */
 209:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_BUS_FREE(I2C_1_MCSR_REG))
 221              		.loc 1 209 0
 222 0012 2649     		ldr	r1, .L25+4
 223 0014 0978     		ldrb	r1, [r1]	@ zero_extendqisi2
 224 0016 11F0080F 		tst	r1, #8
 225 001a 11D1     		bne	.L21
 210:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 211:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_NO_ERROR;
 226              		.loc 1 211 0
 227 001c 0021     		movs	r1, #0
 228 001e 12E0     		b	.L17
 229              	.L16:
 212:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 213:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 214:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 215:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_BUS_BUSY;
 216:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 217:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 218:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else if(I2C_1_SM_MSTR_HALT == I2C_1_state)
 230              		.loc 1 218 0
 231 0020 2149     		ldr	r1, .L25
 232 0022 0978     		ldrb	r1, [r1]	@ zero_extendqisi2
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 9


 233 0024 C9B2     		uxtb	r1, r1
 234 0026 6029     		cmp	r1, #96
 235 0028 0CD1     		bne	.L22
 236              	.LVL19:
 219:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 220:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Master is ready and waiting for ReStart */
 221:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_NO_ERROR;
 222:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 223:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_ClearPendingInt();
 237              		.loc 1 223 0
 238 002a 4FF40045 		mov	r5, #32768
 239 002e 2049     		ldr	r1, .L25+8
 240 0030 0D60     		str	r5, [r1]
 224:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrStatus &= (uint8) ~I2C_1_MSTAT_XFER_HALT;
 241              		.loc 1 224 0
 242 0032 204D     		ldr	r5, .L25+12
 243 0034 2978     		ldrb	r1, [r5]	@ zero_extendqisi2
 244 0036 01F0F701 		and	r1, r1, #247
 245 003a 2970     		strb	r1, [r5]
 221:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 246              		.loc 1 221 0
 247 003c 0021     		movs	r1, #0
 248 003e 02E0     		b	.L17
 249              	.LVL20:
 250              	.L21:
 215:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 251              		.loc 1 215 0
 252 0040 0121     		movs	r1, #1
 253 0042 00E0     		b	.L17
 254              	.L22:
 201:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 255              		.loc 1 201 0
 256 0044 0221     		movs	r1, #2
 257              	.LVL21:
 258              	.L17:
 225:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 226:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 227:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 228:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* errStatus = I2C_1_MSTR_NOT_READY was set before */
 229:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 230:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 231:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_MSTR_NO_ERROR == errStatus)
 259              		.loc 1 231 0
 260 0046 59BB     		cbnz	r1, .L15
 232:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 233:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Set state to start write transaction */
 234:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_RD_ADDR;
 261              		.loc 1 234 0
 262 0048 4926     		movs	r6, #73
 263 004a 174D     		ldr	r5, .L25
 264 004c 2E70     		strb	r6, [r5]
 235:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 236:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Prepare read buffer */
 237:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrRdBufIndex  = 0u;
 265              		.loc 1 237 0
 266 004e 0026     		movs	r6, #0
 267 0050 194D     		ldr	r5, .L25+16
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 10


 268 0052 2E70     		strb	r6, [r5]
 238:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrRdBufSize   = cnt;
 269              		.loc 1 238 0
 270 0054 194D     		ldr	r5, .L25+20
 271 0056 2A70     		strb	r2, [r5]
 239:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrRdBufPtr    = (volatile uint8 *) rdData;
 272              		.loc 1 239 0
 273 0058 194A     		ldr	r2, .L25+24
 274              	.LVL22:
 275 005a 1460     		str	r4, [r2]
 240:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 241:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Set end of transaction flag: Stop or Halt (following ReStart) */
 242:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrControl = mode;
 276              		.loc 1 242 0
 277 005c 194A     		ldr	r2, .L25+28
 278 005e 1370     		strb	r3, [r2]
 279              	.LVL23:
 243:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 244:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Clear read status history */
 245:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_mstrStatus &= (uint8) ~I2C_1_MSTAT_RD_CMPLT;
 280              		.loc 1 245 0
 281 0060 144C     		ldr	r4, .L25+12
 282              	.LVL24:
 283 0062 2278     		ldrb	r2, [r4]	@ zero_extendqisi2
 284 0064 02F0FE02 		and	r2, r2, #254
 285 0068 2270     		strb	r2, [r4]
 246:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 247:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Hardware actions: write address and generate Start or ReStart */
 248:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_DATA_REG = ((uint8) (slaveAddress << I2C_1_SLAVE_ADDR_SHIFT) |
 286              		.loc 1 248 0
 287 006a 4200     		lsls	r2, r0, #1
 288 006c D2B2     		uxtb	r2, r2
 289 006e 42F00102 		orr	r2, r2, #1
 290 0072 1548     		ldr	r0, .L25+32
 291              	.LVL25:
 292 0074 0270     		strb	r2, [r0]
 293              	.LVL26:
 249:Generated_Source\PSoC5/I2C_1_MASTER.c ****                                                   I2C_1_READ_FLAG);
 250:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 251:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_RESTART(mode))
 294              		.loc 1 251 0
 295 0076 13F0010F 		tst	r3, #1
 296 007a 06D0     		beq	.L18
 252:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 253:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_GENERATE_RESTART;
 297              		.loc 1 253 0
 298 007c 1222     		movs	r2, #18
 299 007e 0B4B     		ldr	r3, .L25+4
 300              	.LVL27:
 301 0080 1A70     		strb	r2, [r3]
 302 0082 0422     		movs	r2, #4
 303 0084 023B     		subs	r3, r3, #2
 304 0086 1A70     		strb	r2, [r3]
 305 0088 02E0     		b	.L19
 306              	.LVL28:
 307              	.L18:
 254:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 11


 255:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 256:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 257:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_GENERATE_START;
 308              		.loc 1 257 0
 309 008a 0122     		movs	r2, #1
 310 008c 074B     		ldr	r3, .L25+4
 311              	.LVL29:
 312 008e 1A70     		strb	r2, [r3]
 313              	.L19:
 258:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 259:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 260:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Enable interrupt to complete transfer */
 261:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_EnableInt();
 314              		.loc 1 261 0
 315 0090 4FF40042 		mov	r2, #32768
 316 0094 0D4B     		ldr	r3, .L25+36
 317 0096 1A60     		str	r2, [r3]
 318 0098 02E0     		b	.L15
 319              	.LVL30:
 320              	.L20:
 321              		.cfi_def_cfa_offset 0
 322              		.cfi_restore 4
 323              		.cfi_restore 5
 324              		.cfi_restore 6
 201:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 325              		.loc 1 201 0
 326 009a 0221     		movs	r1, #2
 327              	.LVL31:
 262:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 263:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 264:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 265:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(errStatus);
 266:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 328              		.loc 1 266 0
 329 009c 0846     		mov	r0, r1
 330              	.LVL32:
 331 009e 7047     		bx	lr
 332              	.LVL33:
 333              	.L15:
 334              		.cfi_def_cfa_offset 12
 335              		.cfi_offset 4, -12
 336              		.cfi_offset 5, -8
 337              		.cfi_offset 6, -4
 338 00a0 0846     		mov	r0, r1
 339 00a2 70BC     		pop	{r4, r5, r6}
 340              		.cfi_restore 6
 341              		.cfi_restore 5
 342              		.cfi_restore 4
 343              		.cfi_def_cfa_offset 0
 344 00a4 7047     		bx	lr
 345              	.L26:
 346 00a6 00BF     		.align	2
 347              	.L25:
 348 00a8 00000000 		.word	I2C_1_state
 349 00ac D9490040 		.word	1073760729
 350 00b0 80E200E0 		.word	-536812928
 351 00b4 00000000 		.word	I2C_1_mstrStatus
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 12


 352 00b8 00000000 		.word	I2C_1_mstrRdBufIndex
 353 00bc 00000000 		.word	I2C_1_mstrRdBufSize
 354 00c0 00000000 		.word	I2C_1_mstrRdBufPtr
 355 00c4 00000000 		.word	I2C_1_mstrControl
 356 00c8 D8490040 		.word	1073760728
 357 00cc 00E100E0 		.word	-536813312
 358              		.cfi_endproc
 359              	.LFE1:
 360              		.size	I2C_1_MasterReadBuf, .-I2C_1_MasterReadBuf
 361              		.section	.text.I2C_1_MasterSendStart,"ax",%progbits
 362              		.align	2
 363              		.global	I2C_1_MasterSendStart
 364              		.thumb
 365              		.thumb_func
 366              		.type	I2C_1_MasterSendStart, %function
 367              	I2C_1_MasterSendStart:
 368              	.LFB2:
 267:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 268:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 269:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 270:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterSendStart
 271:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 272:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 273:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 274:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Generates Start condition and sends slave address with read/write bit.
 275:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 276:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 277:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  slaveAddress:  7-bit slave address.
 278:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  R_nW:          Zero, send write command, non-zero send read command.
 279:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 280:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 281:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Status error - Zero means no errors.
 282:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 283:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
 284:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  This function is entered without a "byte complete" bit set in the I2C_CSR
 285:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  register. It does not exit until it is set.
 286:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 287:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 288:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state - The global variable used to store a current state of
 289:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                           the software FSM.
 290:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 291:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 292:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 293:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 294:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 295:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterSendStart(uint8 slaveAddress, uint8 R_nW)
 296:Generated_Source\PSoC5/I2C_1_MASTER.c ****       
 297:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 369              		.loc 1 297 0
 370              		.cfi_startproc
 371              		@ args = 0, pretend = 0, frame = 0
 372              		@ frame_needed = 0, uses_anonymous_args = 0
 373              		@ link register save eliminated.
 374              	.LVL34:
 298:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
 299:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 300:Generated_Source\PSoC5/I2C_1_MASTER.c ****     errStatus = I2C_1_MSTR_NOT_READY;
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 13


 301:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 302:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* If IDLE, check if bus is free */
 303:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(I2C_1_SM_IDLE == I2C_1_state)
 375              		.loc 1 303 0
 376 0000 1A4B     		ldr	r3, .L35
 377 0002 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 378 0004 DBB2     		uxtb	r3, r3
 379 0006 102B     		cmp	r3, #16
 380 0008 29D1     		bne	.L32
 304:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
 305:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* If bus is free, generate Start condition */
 306:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_CHECK_BUS_FREE(I2C_1_MCSR_REG))
 381              		.loc 1 306 0
 382 000a 194B     		ldr	r3, .L35+4
 383 000c 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 384 000e 13F0080F 		tst	r3, #8
 385 0012 26D1     		bne	.L33
 307:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 308:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Disable interrupt for manual master operation */
 309:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_DisableInt();
 386              		.loc 1 309 0
 387 0014 4FF40042 		mov	r2, #32768
 388 0018 164B     		ldr	r3, .L35+8
 389 001a 1A60     		str	r2, [r3]
 310:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 311:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Set address and read/write flag */
 312:Generated_Source\PSoC5/I2C_1_MASTER.c ****             slaveAddress = (uint8) (slaveAddress << I2C_1_SLAVE_ADDR_SHIFT);
 390              		.loc 1 312 0
 391 001c 4000     		lsls	r0, r0, #1
 392              	.LVL35:
 393 001e C0B2     		uxtb	r0, r0
 394              	.LVL36:
 313:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(0u != R_nW)
 395              		.loc 1 313 0
 396 0020 29B1     		cbz	r1, .L29
 314:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 315:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 slaveAddress |= I2C_1_READ_FLAG;
 397              		.loc 1 315 0
 398 0022 40F00100 		orr	r0, r0, #1
 399              	.LVL37:
 316:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_state = I2C_1_SM_MSTR_RD_ADDR;
 400              		.loc 1 316 0
 401 0026 4922     		movs	r2, #73
 402 0028 104B     		ldr	r3, .L35
 403 002a 1A70     		strb	r2, [r3]
 404 002c 02E0     		b	.L30
 405              	.L29:
 317:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 318:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 319:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 320:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_state = I2C_1_SM_MSTR_WR_ADDR;
 406              		.loc 1 320 0
 407 002e 4522     		movs	r2, #69
 408 0030 0E4B     		ldr	r3, .L35
 409 0032 1A70     		strb	r2, [r3]
 410              	.L30:
 321:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 14


 322:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 323:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Hardware actions: write address and generate Start */
 324:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_DATA_REG = slaveAddress;
 411              		.loc 1 324 0
 412 0034 104B     		ldr	r3, .L35+12
 413 0036 1870     		strb	r0, [r3]
 325:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_GENERATE_START_MANUAL;
 414              		.loc 1 325 0
 415 0038 0122     		movs	r2, #1
 416 003a 0133     		adds	r3, r3, #1
 417 003c 1A70     		strb	r2, [r3]
 418              	.L31:
 326:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 327:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Wait until address is transferred */
 328:Generated_Source\PSoC5/I2C_1_MASTER.c ****             while(I2C_1_WAIT_BYTE_COMPLETE(I2C_1_CSR_REG))
 419              		.loc 1 328 0 discriminator 1
 420 003e 0F4B     		ldr	r3, .L35+16
 421 0040 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 422 0042 13F0010F 		tst	r3, #1
 423 0046 FAD0     		beq	.L31
 329:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 330:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 331:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 332:Generated_Source\PSoC5/I2C_1_MASTER.c ****         #if(I2C_1_MODE_MULTI_MASTER_SLAVE_ENABLED)
 333:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_START_GEN(I2C_1_MCSR_REG))
 334:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 335:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_CLEAR_START_GEN;
 336:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 337:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 /* Start condition was not generated: reset FSM to IDLE */
 338:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_state = I2C_1_SM_IDLE;
 339:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_ERR_ABORT_START_GEN;
 340:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 341:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 342:Generated_Source\PSoC5/I2C_1_MASTER.c ****         #endif /* (I2C_1_MODE_MULTI_MASTER_SLAVE_ENABLED) */
 343:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 344:Generated_Source\PSoC5/I2C_1_MASTER.c ****         #if(I2C_1_MODE_MULTI_MASTER_ENABLED)
 345:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_LOST_ARB(I2C_1_CSR_REG))
 346:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 347:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_BUS_RELEASE_MANUAL;
 348:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 349:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 /* Master lost arbitrage: reset FSM to IDLE */
 350:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_state = I2C_1_SM_IDLE;
 351:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_ERR_ARB_LOST;
 352:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 353:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 354:Generated_Source\PSoC5/I2C_1_MASTER.c ****         #endif /* (I2C_1_MODE_MULTI_MASTER_ENABLED) */
 355:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 356:Generated_Source\PSoC5/I2C_1_MASTER.c ****             if(I2C_1_CHECK_ADDR_NAK(I2C_1_CSR_REG))
 424              		.loc 1 356 0
 425 0048 0C4B     		ldr	r3, .L35+16
 426 004a 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 427 004c 03F00A03 		and	r3, r3, #10
 428 0050 0A2B     		cmp	r3, #10
 429 0052 08D1     		bne	.L34
 357:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 358:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 /* Address has been NACKed: reset FSM to IDLE */
 359:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 I2C_1_state = I2C_1_SM_IDLE;
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 15


 430              		.loc 1 359 0
 431 0054 1022     		movs	r2, #16
 432 0056 054B     		ldr	r3, .L35
 433 0058 1A70     		strb	r2, [r3]
 434              	.LVL38:
 360:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_ERR_LB_NAK;
 435              		.loc 1 360 0
 436 005a 0320     		movs	r0, #3
 437              	.LVL39:
 438 005c 7047     		bx	lr
 439              	.LVL40:
 440              	.L32:
 300:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 441              		.loc 1 300 0
 442 005e 0220     		movs	r0, #2
 443              	.LVL41:
 444 0060 7047     		bx	lr
 445              	.LVL42:
 446              	.L33:
 361:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 362:Generated_Source\PSoC5/I2C_1_MASTER.c ****             else
 363:Generated_Source\PSoC5/I2C_1_MASTER.c ****             {
 364:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 /* Start was sent without errors */
 365:Generated_Source\PSoC5/I2C_1_MASTER.c ****                 errStatus = I2C_1_MSTR_NO_ERROR;
 366:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 367:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 368:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 369:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 370:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_BUS_BUSY;
 447              		.loc 1 370 0
 448 0062 0120     		movs	r0, #1
 449              	.LVL43:
 450 0064 7047     		bx	lr
 451              	.LVL44:
 452              	.L34:
 365:Generated_Source\PSoC5/I2C_1_MASTER.c ****             }
 453              		.loc 1 365 0
 454 0066 0020     		movs	r0, #0
 455              	.LVL45:
 371:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 372:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 373:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 374:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(errStatus);
 375:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 456              		.loc 1 375 0
 457 0068 7047     		bx	lr
 458              	.L36:
 459 006a 00BF     		.align	2
 460              	.L35:
 461 006c 00000000 		.word	I2C_1_state
 462 0070 D9490040 		.word	1073760729
 463 0074 80E100E0 		.word	-536813184
 464 0078 D8490040 		.word	1073760728
 465 007c D7490040 		.word	1073760727
 466              		.cfi_endproc
 467              	.LFE2:
 468              		.size	I2C_1_MasterSendStart, .-I2C_1_MasterSendStart
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 16


 469              		.section	.text.I2C_1_MasterSendRestart,"ax",%progbits
 470              		.align	2
 471              		.global	I2C_1_MasterSendRestart
 472              		.thumb
 473              		.thumb_func
 474              		.type	I2C_1_MasterSendRestart, %function
 475              	I2C_1_MasterSendRestart:
 476              	.LFB3:
 376:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 377:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 378:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 379:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterSendRestart
 380:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 381:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 382:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 383:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Generates ReStart condition and sends slave address with read/write bit.
 384:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 385:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 386:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  slaveAddress:  7-bit slave address.
 387:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  R_nW:          Zero, send write command, non-zero send read command.
 388:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 389:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 390:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Status error - Zero means no errors.
 391:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 392:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
 393:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  This function is entered without a "byte complete" bit set in the I2C_CSR
 394:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  register. It does not exit until it is set.
 395:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 396:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 397:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state - The global variable used to store a current state of
 398:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                           the software FSM.
 399:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 400:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 401:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 402:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 403:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 404:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterSendRestart(uint8 slaveAddress, uint8 R_nW)
 405:Generated_Source\PSoC5/I2C_1_MASTER.c ****       
 406:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 477              		.loc 1 406 0
 478              		.cfi_startproc
 479              		@ args = 0, pretend = 0, frame = 0
 480              		@ frame_needed = 0, uses_anonymous_args = 0
 481              		@ link register save eliminated.
 482              	.LVL46:
 407:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
 408:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 409:Generated_Source\PSoC5/I2C_1_MASTER.c ****     errStatus = I2C_1_MSTR_NOT_READY;
 410:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 411:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* Check if START condition was generated */
 412:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(I2C_1_CHECK_MASTER_MODE(I2C_1_MCSR_REG))
 483              		.loc 1 412 0
 484 0000 164B     		ldr	r3, .L44
 485 0002 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 486 0004 13F0040F 		tst	r3, #4
 487 0008 23D0     		beq	.L42
 413:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 17


 414:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Set address and read/write flag */
 415:Generated_Source\PSoC5/I2C_1_MASTER.c ****         slaveAddress = (uint8) (slaveAddress << I2C_1_SLAVE_ADDR_SHIFT);
 488              		.loc 1 415 0
 489 000a 4000     		lsls	r0, r0, #1
 490              	.LVL47:
 491 000c C0B2     		uxtb	r0, r0
 492              	.LVL48:
 416:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(0u != R_nW)
 493              		.loc 1 416 0
 494 000e 29B1     		cbz	r1, .L39
 417:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 418:Generated_Source\PSoC5/I2C_1_MASTER.c ****             slaveAddress |= I2C_1_READ_FLAG;
 495              		.loc 1 418 0
 496 0010 40F00100 		orr	r0, r0, #1
 497              	.LVL49:
 419:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_RD_ADDR;
 498              		.loc 1 419 0
 499 0014 4922     		movs	r2, #73
 500 0016 124B     		ldr	r3, .L44+4
 501 0018 1A70     		strb	r2, [r3]
 502 001a 02E0     		b	.L40
 503              	.L39:
 420:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 421:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 422:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 423:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_WR_ADDR;
 504              		.loc 1 423 0
 505 001c 4522     		movs	r2, #69
 506 001e 104B     		ldr	r3, .L44+4
 507 0020 1A70     		strb	r2, [r3]
 508              	.L40:
 424:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 425:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 426:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Hardware actions: write address and generate ReStart */
 427:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_DATA_REG = slaveAddress;
 509              		.loc 1 427 0
 510 0022 104B     		ldr	r3, .L44+8
 511 0024 1870     		strb	r0, [r3]
 428:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_GENERATE_RESTART_MANUAL;
 512              		.loc 1 428 0
 513 0026 1222     		movs	r2, #18
 514 0028 0133     		adds	r3, r3, #1
 515 002a 1A70     		strb	r2, [r3]
 516 002c 0422     		movs	r2, #4
 517 002e 023B     		subs	r3, r3, #2
 518 0030 1A70     		strb	r2, [r3]
 519              	.L41:
 429:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 430:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Wait until address has been transferred */
 431:Generated_Source\PSoC5/I2C_1_MASTER.c ****         while(I2C_1_WAIT_BYTE_COMPLETE(I2C_1_CSR_REG))
 520              		.loc 1 431 0 discriminator 1
 521 0032 0D4B     		ldr	r3, .L44+12
 522 0034 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 523 0036 13F0010F 		tst	r3, #1
 524 003a FAD0     		beq	.L41
 432:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 433:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 18


 434:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 435:Generated_Source\PSoC5/I2C_1_MASTER.c ****     #if(I2C_1_MODE_MULTI_MASTER_ENABLED)
 436:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_CHECK_LOST_ARB(I2C_1_CSR_REG))
 437:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 438:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_BUS_RELEASE_MANUAL;
 439:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 440:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Master lost arbitrage: reset FSM to IDLE */
 441:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_IDLE;
 442:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_ERR_ARB_LOST;
 443:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 444:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 445:Generated_Source\PSoC5/I2C_1_MASTER.c ****     #endif /* (I2C_1_MODE_MULTI_MASTER_ENABLED) */
 446:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 447:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_CHECK_ADDR_NAK(I2C_1_CSR_REG))
 525              		.loc 1 447 0
 526 003c 0A4B     		ldr	r3, .L44+12
 527 003e 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 528 0040 03F00A03 		and	r3, r3, #10
 529 0044 0A2B     		cmp	r3, #10
 530 0046 06D1     		bne	.L43
 448:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 449:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Address has been NACKed: reset FSM to IDLE */
 450:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_IDLE;
 531              		.loc 1 450 0
 532 0048 1022     		movs	r2, #16
 533 004a 054B     		ldr	r3, .L44+4
 534 004c 1A70     		strb	r2, [r3]
 535              	.LVL50:
 451:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_ERR_LB_NAK;
 536              		.loc 1 451 0
 537 004e 0320     		movs	r0, #3
 538              	.LVL51:
 539 0050 7047     		bx	lr
 540              	.LVL52:
 541              	.L42:
 409:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 542              		.loc 1 409 0
 543 0052 0220     		movs	r0, #2
 544              	.LVL53:
 545 0054 7047     		bx	lr
 546              	.LVL54:
 547              	.L43:
 452:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 453:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 454:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 455:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* ReStart was sent without errors */
 456:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_NO_ERROR;
 548              		.loc 1 456 0
 549 0056 0020     		movs	r0, #0
 550              	.LVL55:
 457:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 458:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 459:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 460:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(errStatus);
 461:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 551              		.loc 1 461 0
 552 0058 7047     		bx	lr
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 19


 553              	.L45:
 554 005a 00BF     		.align	2
 555              	.L44:
 556 005c D9490040 		.word	1073760729
 557 0060 00000000 		.word	I2C_1_state
 558 0064 D8490040 		.word	1073760728
 559 0068 D7490040 		.word	1073760727
 560              		.cfi_endproc
 561              	.LFE3:
 562              		.size	I2C_1_MasterSendRestart, .-I2C_1_MasterSendRestart
 563              		.section	.text.I2C_1_MasterSendStop,"ax",%progbits
 564              		.align	2
 565              		.global	I2C_1_MasterSendStop
 566              		.thumb
 567              		.thumb_func
 568              		.type	I2C_1_MasterSendStop, %function
 569              	I2C_1_MasterSendStop:
 570              	.LFB4:
 462:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 463:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 464:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 465:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterSendStop
 466:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 467:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 468:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 469:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Generates I2C Stop condition on bus. Function do nothing if Start or Restart
 470:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  condition was failed before call this function.
 471:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 472:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 473:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 474:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 475:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 476:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Status error - Zero means no errors.
 477:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 478:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
 479:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Stop generation is required to complete the transaction.
 480:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  This function does not wait until a Stop condition is generated.
 481:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 482:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 483:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state - The global variable used to store a current state of
 484:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                           the software FSM.
 485:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 486:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 487:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 488:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 489:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 490:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterSendStop(void) 
 491:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 571              		.loc 1 491 0
 572              		.cfi_startproc
 573              		@ args = 0, pretend = 0, frame = 0
 574              		@ frame_needed = 0, uses_anonymous_args = 0
 575              		@ link register save eliminated.
 576              	.LVL56:
 492:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
 493:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 494:Generated_Source\PSoC5/I2C_1_MASTER.c ****     errStatus = I2C_1_MSTR_NOT_READY;
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 20


 495:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 496:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* Check if master is active on bus */
 497:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(I2C_1_CHECK_MASTER_MODE(I2C_1_MCSR_REG))
 577              		.loc 1 497 0
 578 0000 0A4B     		ldr	r3, .L50
 579 0002 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 580 0004 13F0040F 		tst	r3, #4
 581 0008 0ED0     		beq	.L49
 498:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
 499:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_GENERATE_STOP_MANUAL;
 582              		.loc 1 499 0
 583 000a 1023     		movs	r3, #16
 584 000c 074A     		ldr	r2, .L50
 585 000e 1370     		strb	r3, [r2]
 586 0010 0421     		movs	r1, #4
 587 0012 023A     		subs	r2, r2, #2
 588 0014 1170     		strb	r1, [r2]
 500:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_state = I2C_1_SM_IDLE;
 589              		.loc 1 500 0
 590 0016 064A     		ldr	r2, .L50+4
 591 0018 1370     		strb	r3, [r2]
 592              	.L48:
 501:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 502:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Wait until stop has been generated */
 503:Generated_Source\PSoC5/I2C_1_MASTER.c ****         while(I2C_1_WAIT_STOP_COMPLETE(I2C_1_CSR_REG))
 593              		.loc 1 503 0 discriminator 1
 594 001a 064B     		ldr	r3, .L50+8
 595 001c 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 596 001e 13F0210F 		tst	r3, #33
 597 0022 FAD0     		beq	.L48
 504:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 505:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 506:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 507:Generated_Source\PSoC5/I2C_1_MASTER.c ****         errStatus = I2C_1_MSTR_NO_ERROR;
 598              		.loc 1 507 0
 599 0024 0020     		movs	r0, #0
 600 0026 7047     		bx	lr
 601              	.L49:
 494:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 602              		.loc 1 494 0
 603 0028 0220     		movs	r0, #2
 604              	.LVL57:
 508:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 509:Generated_Source\PSoC5/I2C_1_MASTER.c ****     #if(I2C_1_MODE_MULTI_MASTER_ENABLED)
 510:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_CHECK_LOST_ARB(I2C_1_CSR_REG))
 511:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 512:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_BUS_RELEASE_MANUAL;
 513:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 514:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* NACK was generated by instead Stop */
 515:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_ERR_ARB_LOST;
 516:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 517:Generated_Source\PSoC5/I2C_1_MASTER.c ****     #endif /* (I2C_1_MODE_MULTI_MASTER_ENABLED) */
 518:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 519:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 520:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(errStatus);
 521:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 605              		.loc 1 521 0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 21


 606 002a 7047     		bx	lr
 607              	.L51:
 608              		.align	2
 609              	.L50:
 610 002c D9490040 		.word	1073760729
 611 0030 00000000 		.word	I2C_1_state
 612 0034 D7490040 		.word	1073760727
 613              		.cfi_endproc
 614              	.LFE4:
 615              		.size	I2C_1_MasterSendStop, .-I2C_1_MasterSendStop
 616              		.section	.text.I2C_1_MasterWriteByte,"ax",%progbits
 617              		.align	2
 618              		.global	I2C_1_MasterWriteByte
 619              		.thumb
 620              		.thumb_func
 621              		.type	I2C_1_MasterWriteByte, %function
 622              	I2C_1_MasterWriteByte:
 623              	.LFB5:
 522:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 523:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 524:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 525:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterWriteByte
 526:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 527:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 528:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 529:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Sends one byte to a slave. A valid Start or ReStart condition must be
 530:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  generated before this call this function. Function do nothing if Start or
 531:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Restart condition was failed before call this function.
 532:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 533:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 534:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  data:  The data byte to send to the slave.
 535:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 536:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 537:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Status error - Zero means no errors.
 538:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 539:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
 540:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  This function is entered without a "byte complete" bit set in the I2C_CSR
 541:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  register. It does not exit until it is set.
 542:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 543:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 544:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state - The global variable used to store a current state of
 545:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                           the software FSM.
 546:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 547:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 548:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterWriteByte(uint8 theByte) 
 549:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 624              		.loc 1 549 0
 625              		.cfi_startproc
 626              		@ args = 0, pretend = 0, frame = 0
 627              		@ frame_needed = 0, uses_anonymous_args = 0
 628              		@ link register save eliminated.
 629              	.LVL58:
 550:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 errStatus;
 551:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 552:Generated_Source\PSoC5/I2C_1_MASTER.c ****     errStatus = I2C_1_MSTR_NOT_READY;
 553:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 554:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* Check if START condition was generated */
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 22


 555:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(I2C_1_CHECK_MASTER_MODE(I2C_1_MCSR_REG))
 630              		.loc 1 555 0
 631 0000 114B     		ldr	r3, .L57
 632 0002 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 633 0004 13F0040F 		tst	r3, #4
 634 0008 1BD0     		beq	.L56
 556:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
 557:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_DATA_REG = theByte;   /* Write DATA register */
 635              		.loc 1 557 0
 636 000a 104B     		ldr	r3, .L57+4
 637 000c 1870     		strb	r0, [r3]
 558:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_TRANSMIT_DATA_MANUAL; /* Set transmit mode   */
 638              		.loc 1 558 0
 639 000e 0422     		movs	r2, #4
 640 0010 013B     		subs	r3, r3, #1
 641 0012 1A70     		strb	r2, [r3]
 559:Generated_Source\PSoC5/I2C_1_MASTER.c ****         I2C_1_state = I2C_1_SM_MSTR_WR_DATA;
 642              		.loc 1 559 0
 643 0014 4622     		movs	r2, #70
 644 0016 0E4B     		ldr	r3, .L57+8
 645 0018 1A70     		strb	r2, [r3]
 646              	.L54:
 560:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 561:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Wait until data byte has been transmitted */
 562:Generated_Source\PSoC5/I2C_1_MASTER.c ****         while(I2C_1_WAIT_BYTE_COMPLETE(I2C_1_CSR_REG))
 647              		.loc 1 562 0 discriminator 1
 648 001a 0E4B     		ldr	r3, .L57+12
 649 001c 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 650 001e 13F0010F 		tst	r3, #1
 651 0022 FAD0     		beq	.L54
 563:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 564:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 565:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 566:Generated_Source\PSoC5/I2C_1_MASTER.c ****     #if(I2C_1_MODE_MULTI_MASTER_ENABLED)
 567:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_CHECK_LOST_ARB(I2C_1_CSR_REG))
 568:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 569:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_BUS_RELEASE_MANUAL;
 570:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 571:Generated_Source\PSoC5/I2C_1_MASTER.c ****             /* Master lost arbitrage: reset FSM to IDLE */
 572:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_IDLE;
 573:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_ERR_ARB_LOST;
 574:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 575:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Check LRB bit */
 576:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 577:Generated_Source\PSoC5/I2C_1_MASTER.c ****     #endif /* (I2C_1_MODE_MULTI_MASTER_ENABLED) */
 578:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 579:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_CHECK_DATA_ACK(I2C_1_CSR_REG))
 652              		.loc 1 579 0
 653 0024 0B4B     		ldr	r3, .L57+12
 654 0026 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 655 0028 13F0020F 		tst	r3, #2
 656 002c 04D1     		bne	.L55
 580:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 581:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_HALT;
 657              		.loc 1 581 0
 658 002e 6022     		movs	r2, #96
 659 0030 074B     		ldr	r3, .L57+8
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 23


 660 0032 1A70     		strb	r2, [r3]
 661              	.LVL59:
 582:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_NO_ERROR;
 662              		.loc 1 582 0
 663 0034 0020     		movs	r0, #0
 664              	.LVL60:
 665 0036 7047     		bx	lr
 666              	.LVL61:
 667              	.L55:
 583:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 584:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else
 585:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 586:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_HALT;
 668              		.loc 1 586 0
 669 0038 6022     		movs	r2, #96
 670 003a 054B     		ldr	r3, .L57+8
 671 003c 1A70     		strb	r2, [r3]
 672              	.LVL62:
 587:Generated_Source\PSoC5/I2C_1_MASTER.c ****             errStatus = I2C_1_MSTR_ERR_LB_NAK;
 673              		.loc 1 587 0
 674 003e 0320     		movs	r0, #3
 675              	.LVL63:
 676 0040 7047     		bx	lr
 677              	.LVL64:
 678              	.L56:
 552:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 679              		.loc 1 552 0
 680 0042 0220     		movs	r0, #2
 681              	.LVL65:
 588:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 589:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 590:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 591:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(errStatus);
 592:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 682              		.loc 1 592 0
 683 0044 7047     		bx	lr
 684              	.L58:
 685 0046 00BF     		.align	2
 686              	.L57:
 687 0048 D9490040 		.word	1073760729
 688 004c D8490040 		.word	1073760728
 689 0050 00000000 		.word	I2C_1_state
 690 0054 D7490040 		.word	1073760727
 691              		.cfi_endproc
 692              	.LFE5:
 693              		.size	I2C_1_MasterWriteByte, .-I2C_1_MasterWriteByte
 694              		.section	.text.I2C_1_MasterReadByte,"ax",%progbits
 695              		.align	2
 696              		.global	I2C_1_MasterReadByte
 697              		.thumb
 698              		.thumb_func
 699              		.type	I2C_1_MasterReadByte, %function
 700              	I2C_1_MasterReadByte:
 701              	.LFB6:
 593:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 594:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 595:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 24


 596:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterReadByte
 597:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 598:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 599:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 600:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Reads one byte from a slave and ACK or NACK the transfer. A valid Start or
 601:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  ReStart condition must be generated before this call this function. Function
 602:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  do nothing if Start or Restart condition was failed before call this
 603:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  function.
 604:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 605:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 606:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  acknNack:  Zero, response with NACK, if non-zero response with ACK.
 607:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 608:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 609:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Byte read from slave.
 610:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 611:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Side Effects:
 612:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  This function is entered without a "byte complete" bit set in the I2C_CSR
 613:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  register. It does not exit until it is set.
 614:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 615:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 616:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_state - The global variable used to store a current
 617:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                           state of the software FSM.
 618:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 619:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 620:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 621:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 622:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 623:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterReadByte(uint8 acknNak) 
 624:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 702              		.loc 1 624 0
 703              		.cfi_startproc
 704              		@ args = 0, pretend = 0, frame = 0
 705              		@ frame_needed = 0, uses_anonymous_args = 0
 706              		@ link register save eliminated.
 707              	.LVL66:
 625:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 theByte;
 626:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 627:Generated_Source\PSoC5/I2C_1_MASTER.c ****     theByte = 0u;
 628:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 629:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* Check if START condition was generated */
 630:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if(I2C_1_CHECK_MASTER_MODE(I2C_1_MCSR_REG))
 708              		.loc 1 630 0
 709 0000 114B     		ldr	r3, .L65
 710 0002 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 711 0004 13F0040F 		tst	r3, #4
 712 0008 1BD0     		beq	.L64
 631:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
 632:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* When address phase needs to release bus and receive byte,
 633:Generated_Source\PSoC5/I2C_1_MASTER.c ****         * then decide ACK or NACK
 634:Generated_Source\PSoC5/I2C_1_MASTER.c ****         */
 635:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(I2C_1_SM_MSTR_RD_ADDR == I2C_1_state)
 713              		.loc 1 635 0
 714 000a 104B     		ldr	r3, .L65+4
 715 000c 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 716 000e DBB2     		uxtb	r3, r3
 717 0010 492B     		cmp	r3, #73
 718 0012 05D1     		bne	.L62
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 25


 636:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 637:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_READY_TO_READ_MANUAL;
 719              		.loc 1 637 0
 720 0014 0022     		movs	r2, #0
 721 0016 0E4B     		ldr	r3, .L65+8
 722 0018 1A70     		strb	r2, [r3]
 638:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_RD_DATA;
 723              		.loc 1 638 0
 724 001a 4A22     		movs	r2, #74
 725 001c 0B4B     		ldr	r3, .L65+4
 726 001e 1A70     		strb	r2, [r3]
 727              	.L62:
 639:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 640:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 641:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Wait until data byte has been received */
 642:Generated_Source\PSoC5/I2C_1_MASTER.c ****         while(I2C_1_WAIT_BYTE_COMPLETE(I2C_1_CSR_REG))
 728              		.loc 1 642 0 discriminator 1
 729 0020 0B4B     		ldr	r3, .L65+8
 730 0022 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 731 0024 13F0010F 		tst	r3, #1
 732 0028 FAD0     		beq	.L62
 643:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 644:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 645:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 646:Generated_Source\PSoC5/I2C_1_MASTER.c ****         theByte = I2C_1_DATA_REG;
 733              		.loc 1 646 0
 734 002a 0A4B     		ldr	r3, .L65+12
 735 002c 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 736 002e DBB2     		uxtb	r3, r3
 737              	.LVL67:
 647:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 648:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Command ACK to receive next byte and continue transfer.
 649:Generated_Source\PSoC5/I2C_1_MASTER.c ****         *  Do nothing for NACK. The NACK will be generated by
 650:Generated_Source\PSoC5/I2C_1_MASTER.c ****         *  Stop or ReStart routine.
 651:Generated_Source\PSoC5/I2C_1_MASTER.c ****         */
 652:Generated_Source\PSoC5/I2C_1_MASTER.c ****         if(acknNak != 0u) /* Generate ACK */
 738              		.loc 1 652 0
 739 0030 18B1     		cbz	r0, .L63
 653:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 654:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_ACK_AND_RECEIVE_MANUAL;
 740              		.loc 1 654 0
 741 0032 1021     		movs	r1, #16
 742 0034 064A     		ldr	r2, .L65+8
 743 0036 1170     		strb	r1, [r2]
 744 0038 04E0     		b	.L60
 745              	.L63:
 655:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 656:Generated_Source\PSoC5/I2C_1_MASTER.c ****         else              /* Do nothing for the follwong NACK */
 657:Generated_Source\PSoC5/I2C_1_MASTER.c ****         {
 658:Generated_Source\PSoC5/I2C_1_MASTER.c ****             I2C_1_state = I2C_1_SM_MSTR_HALT;
 746              		.loc 1 658 0
 747 003a 6021     		movs	r1, #96
 748 003c 034A     		ldr	r2, .L65+4
 749 003e 1170     		strb	r1, [r2]
 750 0040 00E0     		b	.L60
 751              	.LVL68:
 752              	.L64:
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 26


 627:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 753              		.loc 1 627 0
 754 0042 0023     		movs	r3, #0
 755              	.LVL69:
 756              	.L60:
 659:Generated_Source\PSoC5/I2C_1_MASTER.c ****         }
 660:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 661:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 662:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return(theByte);
 663:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 757              		.loc 1 663 0
 758 0044 1846     		mov	r0, r3
 759              	.LVL70:
 760 0046 7047     		bx	lr
 761              	.L66:
 762              		.align	2
 763              	.L65:
 764 0048 D9490040 		.word	1073760729
 765 004c 00000000 		.word	I2C_1_state
 766 0050 D7490040 		.word	1073760727
 767 0054 D8490040 		.word	1073760728
 768              		.cfi_endproc
 769              	.LFE6:
 770              		.size	I2C_1_MasterReadByte, .-I2C_1_MasterReadByte
 771              		.section	.text.I2C_1_MasterStatus,"ax",%progbits
 772              		.align	2
 773              		.global	I2C_1_MasterStatus
 774              		.thumb
 775              		.thumb_func
 776              		.type	I2C_1_MasterStatus, %function
 777              	I2C_1_MasterStatus:
 778              	.LFB7:
 664:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 665:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 666:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 667:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterStatus
 668:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 669:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 670:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 671:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Returns the master's communication status.
 672:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 673:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 674:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 675:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 676:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 677:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Current status of I2C master.
 678:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 679:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 680:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrStatus - The global variable used to store a current
 681:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                status of the I2C Master.
 682:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 683:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 684:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterStatus(void) 
 685:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 779              		.loc 1 685 0
 780              		.cfi_startproc
 781              		@ args = 0, pretend = 0, frame = 0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 27


 782              		@ frame_needed = 0, uses_anonymous_args = 0
 783              		@ link register save eliminated.
 686:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 status;
 687:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 688:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_DisableInt(); /* Lock from interrupt */
 784              		.loc 1 688 0
 785 0000 4FF40042 		mov	r2, #32768
 786 0004 084B     		ldr	r3, .L69
 787 0006 1A60     		str	r2, [r3]
 689:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 690:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* Read master status */
 691:Generated_Source\PSoC5/I2C_1_MASTER.c ****     status = I2C_1_mstrStatus;
 788              		.loc 1 691 0
 789 0008 084B     		ldr	r3, .L69+4
 790 000a 1878     		ldrb	r0, [r3]	@ zero_extendqisi2
 791 000c C0B2     		uxtb	r0, r0
 792              	.LVL71:
 692:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 693:Generated_Source\PSoC5/I2C_1_MASTER.c ****     if (I2C_1_CHECK_SM_MASTER)
 793              		.loc 1 693 0
 794 000e 084B     		ldr	r3, .L69+8
 795 0010 1B78     		ldrb	r3, [r3]	@ zero_extendqisi2
 796 0012 13F0400F 		tst	r3, #64
 797 0016 01D0     		beq	.L68
 694:Generated_Source\PSoC5/I2C_1_MASTER.c ****     {
 695:Generated_Source\PSoC5/I2C_1_MASTER.c ****         /* Set transfer in progress flag in status */
 696:Generated_Source\PSoC5/I2C_1_MASTER.c ****         status |= I2C_1_MSTAT_XFER_INP;
 798              		.loc 1 696 0
 799 0018 40F00400 		orr	r0, r0, #4
 800              	.LVL72:
 801              	.L68:
 697:Generated_Source\PSoC5/I2C_1_MASTER.c ****     }
 698:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 699:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_EnableInt(); /* Release lock */
 802              		.loc 1 699 0
 803 001c 4FF40042 		mov	r2, #32768
 804 0020 044B     		ldr	r3, .L69+12
 805 0022 1A60     		str	r2, [r3]
 700:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 701:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return (status);
 702:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 806              		.loc 1 702 0
 807 0024 7047     		bx	lr
 808              	.L70:
 809 0026 00BF     		.align	2
 810              	.L69:
 811 0028 80E100E0 		.word	-536813184
 812 002c 00000000 		.word	I2C_1_mstrStatus
 813 0030 00000000 		.word	I2C_1_state
 814 0034 00E100E0 		.word	-536813312
 815              		.cfi_endproc
 816              	.LFE7:
 817              		.size	I2C_1_MasterStatus, .-I2C_1_MasterStatus
 818              		.section	.text.I2C_1_MasterClearStatus,"ax",%progbits
 819              		.align	2
 820              		.global	I2C_1_MasterClearStatus
 821              		.thumb
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 28


 822              		.thumb_func
 823              		.type	I2C_1_MasterClearStatus, %function
 824              	I2C_1_MasterClearStatus:
 825              	.LFB8:
 703:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 704:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 705:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 706:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterClearStatus
 707:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 708:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 709:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 710:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Clears all status flags and returns the master status.
 711:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 712:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 713:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 714:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 715:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 716:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Current status of I2C master.
 717:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 718:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 719:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrStatus - The global variable used to store a current
 720:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                status of the I2C Master.
 721:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 722:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 723:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 724:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 725:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 726:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterClearStatus(void) 
 727:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 826              		.loc 1 727 0
 827              		.cfi_startproc
 828              		@ args = 0, pretend = 0, frame = 0
 829              		@ frame_needed = 0, uses_anonymous_args = 0
 830              		@ link register save eliminated.
 728:Generated_Source\PSoC5/I2C_1_MASTER.c ****     uint8 status;
 729:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 730:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_DisableInt(); /* Lock from interrupt */
 831              		.loc 1 730 0
 832 0000 4FF40043 		mov	r3, #32768
 833 0004 044A     		ldr	r2, .L72
 834 0006 1360     		str	r3, [r2]
 731:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 732:Generated_Source\PSoC5/I2C_1_MASTER.c ****     /* Read and clear master status */
 733:Generated_Source\PSoC5/I2C_1_MASTER.c ****     status = I2C_1_mstrStatus;
 835              		.loc 1 733 0
 836 0008 044A     		ldr	r2, .L72+4
 837 000a 1078     		ldrb	r0, [r2]	@ zero_extendqisi2
 838              	.LVL73:
 734:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_mstrStatus = I2C_1_MSTAT_CLEAR;
 839              		.loc 1 734 0
 840 000c 0021     		movs	r1, #0
 841 000e 1170     		strb	r1, [r2]
 735:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 736:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_EnableInt(); /* Release lock */
 842              		.loc 1 736 0
 843 0010 034A     		ldr	r2, .L72+8
 844 0012 1360     		str	r3, [r2]
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 29


 737:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 738:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return (status);
 739:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 845              		.loc 1 739 0
 846 0014 7047     		bx	lr
 847              	.L73:
 848 0016 00BF     		.align	2
 849              	.L72:
 850 0018 80E100E0 		.word	-536813184
 851 001c 00000000 		.word	I2C_1_mstrStatus
 852 0020 00E100E0 		.word	-536813312
 853              		.cfi_endproc
 854              	.LFE8:
 855              		.size	I2C_1_MasterClearStatus, .-I2C_1_MasterClearStatus
 856              		.section	.text.I2C_1_MasterGetReadBufSize,"ax",%progbits
 857              		.align	2
 858              		.global	I2C_1_MasterGetReadBufSize
 859              		.thumb
 860              		.thumb_func
 861              		.type	I2C_1_MasterGetReadBufSize, %function
 862              	I2C_1_MasterGetReadBufSize:
 863              	.LFB9:
 740:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 741:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 742:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 743:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterGetReadBufSize
 744:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 745:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 746:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 747:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Returns the amount of bytes that has been transferred with an
 748:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_MasterReadBuf command.
 749:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 750:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 751:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 752:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 753:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 754:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Byte count of transfer. If the transfer is not yet complete, it will return
 755:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  the byte count transferred so far.
 756:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 757:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 758:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrRdBufIndex - The global variable stores current index
 759:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                    within the master read buffer.
 760:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 761:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 762:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterGetReadBufSize(void) 
 763:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 864              		.loc 1 763 0
 865              		.cfi_startproc
 866              		@ args = 0, pretend = 0, frame = 0
 867              		@ frame_needed = 0, uses_anonymous_args = 0
 868              		@ link register save eliminated.
 764:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return (I2C_1_mstrRdBufIndex);
 869              		.loc 1 764 0
 870 0000 014B     		ldr	r3, .L75
 871 0002 1878     		ldrb	r0, [r3]	@ zero_extendqisi2
 765:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 872              		.loc 1 765 0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 30


 873 0004 7047     		bx	lr
 874              	.L76:
 875 0006 00BF     		.align	2
 876              	.L75:
 877 0008 00000000 		.word	I2C_1_mstrRdBufIndex
 878              		.cfi_endproc
 879              	.LFE9:
 880              		.size	I2C_1_MasterGetReadBufSize, .-I2C_1_MasterGetReadBufSize
 881              		.section	.text.I2C_1_MasterGetWriteBufSize,"ax",%progbits
 882              		.align	2
 883              		.global	I2C_1_MasterGetWriteBufSize
 884              		.thumb
 885              		.thumb_func
 886              		.type	I2C_1_MasterGetWriteBufSize, %function
 887              	I2C_1_MasterGetWriteBufSize:
 888              	.LFB10:
 766:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 767:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 768:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 769:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterGetWriteBufSize
 770:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 771:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 772:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 773:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Returns the amount of bytes that has been transferred with an
 774:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_MasterWriteBuf command.
 775:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 776:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 777:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 778:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 779:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 780:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Byte count of transfer. If the transfer is not yet complete, it will return
 781:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  the byte count transferred so far.
 782:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 783:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 784:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrWrBufIndex -  The global variable used to stores current
 785:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                     index within master write buffer.
 786:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 787:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 788:Generated_Source\PSoC5/I2C_1_MASTER.c **** uint8 I2C_1_MasterGetWriteBufSize(void) 
 789:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 889              		.loc 1 789 0
 890              		.cfi_startproc
 891              		@ args = 0, pretend = 0, frame = 0
 892              		@ frame_needed = 0, uses_anonymous_args = 0
 893              		@ link register save eliminated.
 790:Generated_Source\PSoC5/I2C_1_MASTER.c ****     return (I2C_1_mstrWrBufIndex);
 894              		.loc 1 790 0
 895 0000 014B     		ldr	r3, .L78
 896 0002 1878     		ldrb	r0, [r3]	@ zero_extendqisi2
 791:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 897              		.loc 1 791 0
 898 0004 7047     		bx	lr
 899              	.L79:
 900 0006 00BF     		.align	2
 901              	.L78:
 902 0008 00000000 		.word	I2C_1_mstrWrBufIndex
 903              		.cfi_endproc
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 31


 904              	.LFE10:
 905              		.size	I2C_1_MasterGetWriteBufSize, .-I2C_1_MasterGetWriteBufSize
 906              		.section	.text.I2C_1_MasterClearReadBuf,"ax",%progbits
 907              		.align	2
 908              		.global	I2C_1_MasterClearReadBuf
 909              		.thumb
 910              		.thumb_func
 911              		.type	I2C_1_MasterClearReadBuf, %function
 912              	I2C_1_MasterClearReadBuf:
 913              	.LFB11:
 792:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 793:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 794:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 795:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterClearReadBuf
 796:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 797:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 798:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 799:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Resets the read buffer pointer back to the first byte in the buffer.
 800:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 801:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 802:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 803:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 804:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 805:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 806:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 807:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 808:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrRdBufIndex - The global variable used to stores current
 809:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                    index within master read buffer.
 810:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrStatus - The global variable used to store a current
 811:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                status of the I2C Master.
 812:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 813:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 814:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 815:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 816:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 817:Generated_Source\PSoC5/I2C_1_MASTER.c **** void I2C_1_MasterClearReadBuf(void) 
 818:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 914              		.loc 1 818 0
 915              		.cfi_startproc
 916              		@ args = 0, pretend = 0, frame = 0
 917              		@ frame_needed = 0, uses_anonymous_args = 0
 918              		@ link register save eliminated.
 819:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_DisableInt(); /* Lock from interrupt */
 919              		.loc 1 819 0
 920 0000 4FF40042 		mov	r2, #32768
 921 0004 064B     		ldr	r3, .L81
 922 0006 1A60     		str	r2, [r3]
 820:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 821:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_mstrRdBufIndex = 0u;
 923              		.loc 1 821 0
 924 0008 0021     		movs	r1, #0
 925 000a 064B     		ldr	r3, .L81+4
 926 000c 1970     		strb	r1, [r3]
 822:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_mstrStatus    &= (uint8) ~I2C_1_MSTAT_RD_CMPLT;
 927              		.loc 1 822 0
 928 000e 0649     		ldr	r1, .L81+8
 929 0010 0B78     		ldrb	r3, [r1]	@ zero_extendqisi2
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 32


 930 0012 03F0FE03 		and	r3, r3, #254
 931 0016 0B70     		strb	r3, [r1]
 823:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 824:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_EnableInt(); /* Release lock */
 932              		.loc 1 824 0
 933 0018 044B     		ldr	r3, .L81+12
 934 001a 1A60     		str	r2, [r3]
 935 001c 7047     		bx	lr
 936              	.L82:
 937 001e 00BF     		.align	2
 938              	.L81:
 939 0020 80E100E0 		.word	-536813184
 940 0024 00000000 		.word	I2C_1_mstrRdBufIndex
 941 0028 00000000 		.word	I2C_1_mstrStatus
 942 002c 00E100E0 		.word	-536813312
 943              		.cfi_endproc
 944              	.LFE11:
 945              		.size	I2C_1_MasterClearReadBuf, .-I2C_1_MasterClearReadBuf
 946              		.section	.text.I2C_1_MasterClearWriteBuf,"ax",%progbits
 947              		.align	2
 948              		.global	I2C_1_MasterClearWriteBuf
 949              		.thumb
 950              		.thumb_func
 951              		.type	I2C_1_MasterClearWriteBuf, %function
 952              	I2C_1_MasterClearWriteBuf:
 953              	.LFB12:
 825:Generated_Source\PSoC5/I2C_1_MASTER.c **** }
 826:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 827:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 828:Generated_Source\PSoC5/I2C_1_MASTER.c **** /*******************************************************************************
 829:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Function Name: I2C_1_MasterClearWriteBuf
 830:Generated_Source\PSoC5/I2C_1_MASTER.c **** ********************************************************************************
 831:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 832:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Summary:
 833:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  Resets the write buffer pointer back to the first byte in the buffer.
 834:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 835:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Parameters:
 836:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 837:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 838:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Return:
 839:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  None.
 840:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 841:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Global variables:
 842:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrRdBufIndex - The global variable used to stote current
 843:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                    index within master read buffer.
 844:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  I2C_1_mstrStatus - The global variable used to store a current
 845:Generated_Source\PSoC5/I2C_1_MASTER.c **** *                                status of the I2C Master.
 846:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 847:Generated_Source\PSoC5/I2C_1_MASTER.c **** * Reentrant:
 848:Generated_Source\PSoC5/I2C_1_MASTER.c **** *  No.
 849:Generated_Source\PSoC5/I2C_1_MASTER.c **** *
 850:Generated_Source\PSoC5/I2C_1_MASTER.c **** *******************************************************************************/
 851:Generated_Source\PSoC5/I2C_1_MASTER.c **** void I2C_1_MasterClearWriteBuf(void) 
 852:Generated_Source\PSoC5/I2C_1_MASTER.c **** {
 954              		.loc 1 852 0
 955              		.cfi_startproc
 956              		@ args = 0, pretend = 0, frame = 0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 33


 957              		@ frame_needed = 0, uses_anonymous_args = 0
 958              		@ link register save eliminated.
 853:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_DisableInt(); /* Lock from interrupt */
 959              		.loc 1 853 0
 960 0000 4FF40042 		mov	r2, #32768
 961 0004 064B     		ldr	r3, .L84
 962 0006 1A60     		str	r2, [r3]
 854:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 855:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_mstrWrBufIndex = 0u;
 963              		.loc 1 855 0
 964 0008 0021     		movs	r1, #0
 965 000a 064B     		ldr	r3, .L84+4
 966 000c 1970     		strb	r1, [r3]
 856:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_mstrStatus    &= (uint8) ~I2C_1_MSTAT_WR_CMPLT;
 967              		.loc 1 856 0
 968 000e 0649     		ldr	r1, .L84+8
 969 0010 0B78     		ldrb	r3, [r1]	@ zero_extendqisi2
 970 0012 03F0FD03 		and	r3, r3, #253
 971 0016 0B70     		strb	r3, [r1]
 857:Generated_Source\PSoC5/I2C_1_MASTER.c **** 
 858:Generated_Source\PSoC5/I2C_1_MASTER.c ****     I2C_1_EnableInt(); /* Release lock */
 972              		.loc 1 858 0
 973 0018 044B     		ldr	r3, .L84+12
 974 001a 1A60     		str	r2, [r3]
 975 001c 7047     		bx	lr
 976              	.L85:
 977 001e 00BF     		.align	2
 978              	.L84:
 979 0020 80E100E0 		.word	-536813184
 980 0024 00000000 		.word	I2C_1_mstrWrBufIndex
 981 0028 00000000 		.word	I2C_1_mstrStatus
 982 002c 00E100E0 		.word	-536813312
 983              		.cfi_endproc
 984              	.LFE12:
 985              		.size	I2C_1_MasterClearWriteBuf, .-I2C_1_MasterClearWriteBuf
 986              		.comm	I2C_1_mstrWrBufIndex,1,1
 987              		.comm	I2C_1_mstrWrBufSize,1,1
 988              		.comm	I2C_1_mstrWrBufPtr,4,4
 989              		.comm	I2C_1_mstrRdBufIndex,1,1
 990              		.comm	I2C_1_mstrRdBufSize,1,1
 991              		.comm	I2C_1_mstrRdBufPtr,4,4
 992              		.comm	I2C_1_mstrControl,1,1
 993              		.comm	I2C_1_mstrStatus,1,1
 994              		.text
 995              	.Letext0:
 996              		.file 2 "Generated_Source\\PSoC5\\cytypes.h"
 997              		.file 3 "Generated_Source\\PSoC5\\I2C_1_PVT.h"
 998              		.section	.debug_info,"",%progbits
 999              	.Ldebug_info0:
 1000 0000 03040000 		.4byte	0x403
 1001 0004 0400     		.2byte	0x4
 1002 0006 00000000 		.4byte	.Ldebug_abbrev0
 1003 000a 04       		.byte	0x4
 1004 000b 01       		.uleb128 0x1
 1005 000c FB000000 		.4byte	.LASF49
 1006 0010 0C       		.byte	0xc
 1007 0011 6B000000 		.4byte	.LASF50
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 34


 1008 0015 8E010000 		.4byte	.LASF51
 1009 0019 00000000 		.4byte	.Ldebug_ranges0+0
 1010 001d 00000000 		.4byte	0
 1011 0021 00000000 		.4byte	.Ldebug_line0
 1012 0025 02       		.uleb128 0x2
 1013 0026 01       		.byte	0x1
 1014 0027 06       		.byte	0x6
 1015 0028 67030000 		.4byte	.LASF0
 1016 002c 02       		.uleb128 0x2
 1017 002d 01       		.byte	0x1
 1018 002e 08       		.byte	0x8
 1019 002f ED000000 		.4byte	.LASF1
 1020 0033 02       		.uleb128 0x2
 1021 0034 02       		.byte	0x2
 1022 0035 05       		.byte	0x5
 1023 0036 F9020000 		.4byte	.LASF2
 1024 003a 02       		.uleb128 0x2
 1025 003b 02       		.byte	0x2
 1026 003c 07       		.byte	0x7
 1027 003d 4B000000 		.4byte	.LASF3
 1028 0041 02       		.uleb128 0x2
 1029 0042 04       		.byte	0x4
 1030 0043 05       		.byte	0x5
 1031 0044 4D030000 		.4byte	.LASF4
 1032 0048 02       		.uleb128 0x2
 1033 0049 04       		.byte	0x4
 1034 004a 07       		.byte	0x7
 1035 004b C5010000 		.4byte	.LASF5
 1036 004f 02       		.uleb128 0x2
 1037 0050 08       		.byte	0x8
 1038 0051 05       		.byte	0x5
 1039 0052 7A020000 		.4byte	.LASF6
 1040 0056 02       		.uleb128 0x2
 1041 0057 08       		.byte	0x8
 1042 0058 07       		.byte	0x7
 1043 0059 48020000 		.4byte	.LASF7
 1044 005d 03       		.uleb128 0x3
 1045 005e 04       		.byte	0x4
 1046 005f 05       		.byte	0x5
 1047 0060 696E7400 		.ascii	"int\000"
 1048 0064 02       		.uleb128 0x2
 1049 0065 04       		.byte	0x4
 1050 0066 07       		.byte	0x7
 1051 0067 5E000000 		.4byte	.LASF8
 1052 006b 04       		.uleb128 0x4
 1053 006c D7010000 		.4byte	.LASF9
 1054 0070 02       		.byte	0x2
 1055 0071 E901     		.2byte	0x1e9
 1056 0073 2C000000 		.4byte	0x2c
 1057 0077 04       		.uleb128 0x4
 1058 0078 26020000 		.4byte	.LASF10
 1059 007c 02       		.byte	0x2
 1060 007d EB01     		.2byte	0x1eb
 1061 007f 48000000 		.4byte	0x48
 1062 0083 02       		.uleb128 0x2
 1063 0084 04       		.byte	0x4
 1064 0085 04       		.byte	0x4
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 35


 1065 0086 E7000000 		.4byte	.LASF11
 1066 008a 02       		.uleb128 0x2
 1067 008b 08       		.byte	0x8
 1068 008c 04       		.byte	0x4
 1069 008d E7010000 		.4byte	.LASF12
 1070 0091 02       		.uleb128 0x2
 1071 0092 01       		.byte	0x1
 1072 0093 08       		.byte	0x8
 1073 0094 56030000 		.4byte	.LASF13
 1074 0098 04       		.uleb128 0x4
 1075 0099 89010000 		.4byte	.LASF14
 1076 009d 02       		.byte	0x2
 1077 009e 9302     		.2byte	0x293
 1078 00a0 A4000000 		.4byte	0xa4
 1079 00a4 05       		.uleb128 0x5
 1080 00a5 6B000000 		.4byte	0x6b
 1081 00a9 04       		.uleb128 0x4
 1082 00aa 00000000 		.4byte	.LASF15
 1083 00ae 02       		.byte	0x2
 1084 00af 9502     		.2byte	0x295
 1085 00b1 B5000000 		.4byte	0xb5
 1086 00b5 05       		.uleb128 0x5
 1087 00b6 77000000 		.4byte	0x77
 1088 00ba 02       		.uleb128 0x2
 1089 00bb 08       		.byte	0x8
 1090 00bc 04       		.byte	0x4
 1091 00bd 5B030000 		.4byte	.LASF16
 1092 00c1 02       		.uleb128 0x2
 1093 00c2 04       		.byte	0x4
 1094 00c3 07       		.byte	0x7
 1095 00c4 71020000 		.4byte	.LASF17
 1096 00c8 06       		.uleb128 0x6
 1097 00c9 D2000000 		.4byte	.LASF21
 1098 00cd 01       		.byte	0x1
 1099 00ce 50       		.byte	0x50
 1100 00cf 6B000000 		.4byte	0x6b
 1101 00d3 00000000 		.4byte	.LFB0
 1102 00d7 CC000000 		.4byte	.LFE0-.LFB0
 1103 00db 01       		.uleb128 0x1
 1104 00dc 9C       		.byte	0x9c
 1105 00dd 2D010000 		.4byte	0x12d
 1106 00e1 07       		.uleb128 0x7
 1107 00e2 64020000 		.4byte	.LASF18
 1108 00e6 01       		.byte	0x1
 1109 00e7 50       		.byte	0x50
 1110 00e8 6B000000 		.4byte	0x6b
 1111 00ec 00000000 		.4byte	.LLST0
 1112 00f0 07       		.uleb128 0x7
 1113 00f1 41020000 		.4byte	.LASF19
 1114 00f5 01       		.byte	0x1
 1115 00f6 50       		.byte	0x50
 1116 00f7 2D010000 		.4byte	0x12d
 1117 00fb 3A000000 		.4byte	.LLST1
 1118 00ff 08       		.uleb128 0x8
 1119 0100 636E7400 		.ascii	"cnt\000"
 1120 0104 01       		.byte	0x1
 1121 0105 50       		.byte	0x50
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 36


 1122 0106 6B000000 		.4byte	0x6b
 1123 010a 8E000000 		.4byte	.LLST2
 1124 010e 07       		.uleb128 0x7
 1125 010f 5F020000 		.4byte	.LASF20
 1126 0113 01       		.byte	0x1
 1127 0114 50       		.byte	0x50
 1128 0115 6B000000 		.4byte	0x6b
 1129 0119 D7000000 		.4byte	.LLST3
 1130 011d 09       		.uleb128 0x9
 1131 011e DD010000 		.4byte	.LASF24
 1132 0122 01       		.byte	0x1
 1133 0123 53       		.byte	0x53
 1134 0124 6B000000 		.4byte	0x6b
 1135 0128 2A010000 		.4byte	.LLST4
 1136 012c 00       		.byte	0
 1137 012d 0A       		.uleb128 0xa
 1138 012e 04       		.byte	0x4
 1139 012f 6B000000 		.4byte	0x6b
 1140 0133 06       		.uleb128 0x6
 1141 0134 06020000 		.4byte	.LASF22
 1142 0138 01       		.byte	0x1
 1143 0139 C4       		.byte	0xc4
 1144 013a 6B000000 		.4byte	0x6b
 1145 013e 00000000 		.4byte	.LFB1
 1146 0142 D0000000 		.4byte	.LFE1-.LFB1
 1147 0146 01       		.uleb128 0x1
 1148 0147 9C       		.byte	0x9c
 1149 0148 98010000 		.4byte	0x198
 1150 014c 07       		.uleb128 0x7
 1151 014d 64020000 		.4byte	.LASF18
 1152 0151 01       		.byte	0x1
 1153 0152 C4       		.byte	0xc4
 1154 0153 6B000000 		.4byte	0x6b
 1155 0157 78010000 		.4byte	.LLST5
 1156 015b 07       		.uleb128 0x7
 1157 015c 1F020000 		.4byte	.LASF23
 1158 0160 01       		.byte	0x1
 1159 0161 C4       		.byte	0xc4
 1160 0162 2D010000 		.4byte	0x12d
 1161 0166 B2010000 		.4byte	.LLST6
 1162 016a 08       		.uleb128 0x8
 1163 016b 636E7400 		.ascii	"cnt\000"
 1164 016f 01       		.byte	0x1
 1165 0170 C4       		.byte	0xc4
 1166 0171 6B000000 		.4byte	0x6b
 1167 0175 06020000 		.4byte	.LLST7
 1168 0179 07       		.uleb128 0x7
 1169 017a 5F020000 		.4byte	.LASF20
 1170 017e 01       		.byte	0x1
 1171 017f C4       		.byte	0xc4
 1172 0180 6B000000 		.4byte	0x6b
 1173 0184 4F020000 		.4byte	.LLST8
 1174 0188 09       		.uleb128 0x9
 1175 0189 DD010000 		.4byte	.LASF24
 1176 018d 01       		.byte	0x1
 1177 018e C7       		.byte	0xc7
 1178 018f 6B000000 		.4byte	0x6b
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 37


 1179 0193 A2020000 		.4byte	.LLST9
 1180 0197 00       		.byte	0
 1181 0198 0B       		.uleb128 0xb
 1182 0199 35000000 		.4byte	.LASF25
 1183 019d 01       		.byte	0x1
 1184 019e 2701     		.2byte	0x127
 1185 01a0 6B000000 		.4byte	0x6b
 1186 01a4 00000000 		.4byte	.LFB2
 1187 01a8 80000000 		.4byte	.LFE2-.LFB2
 1188 01ac 01       		.uleb128 0x1
 1189 01ad 9C       		.byte	0x9c
 1190 01ae E1010000 		.4byte	0x1e1
 1191 01b2 0C       		.uleb128 0xc
 1192 01b3 64020000 		.4byte	.LASF18
 1193 01b7 01       		.byte	0x1
 1194 01b8 2701     		.2byte	0x127
 1195 01ba 6B000000 		.4byte	0x6b
 1196 01be F0020000 		.4byte	.LLST10
 1197 01c2 0D       		.uleb128 0xd
 1198 01c3 1A020000 		.4byte	.LASF26
 1199 01c7 01       		.byte	0x1
 1200 01c8 2701     		.2byte	0x127
 1201 01ca 6B000000 		.4byte	0x6b
 1202 01ce 01       		.uleb128 0x1
 1203 01cf 51       		.byte	0x51
 1204 01d0 0E       		.uleb128 0xe
 1205 01d1 DD010000 		.4byte	.LASF24
 1206 01d5 01       		.byte	0x1
 1207 01d6 2A01     		.2byte	0x12a
 1208 01d8 6B000000 		.4byte	0x6b
 1209 01dc 59030000 		.4byte	.LLST11
 1210 01e0 00       		.byte	0
 1211 01e1 0B       		.uleb128 0xb
 1212 01e2 EE010000 		.4byte	.LASF27
 1213 01e6 01       		.byte	0x1
 1214 01e7 9401     		.2byte	0x194
 1215 01e9 6B000000 		.4byte	0x6b
 1216 01ed 00000000 		.4byte	.LFB3
 1217 01f1 6C000000 		.4byte	.LFE3-.LFB3
 1218 01f5 01       		.uleb128 0x1
 1219 01f6 9C       		.byte	0x9c
 1220 01f7 2A020000 		.4byte	0x22a
 1221 01fb 0C       		.uleb128 0xc
 1222 01fc 64020000 		.4byte	.LASF18
 1223 0200 01       		.byte	0x1
 1224 0201 9401     		.2byte	0x194
 1225 0203 6B000000 		.4byte	0x6b
 1226 0207 90030000 		.4byte	.LLST12
 1227 020b 0D       		.uleb128 0xd
 1228 020c 1A020000 		.4byte	.LASF26
 1229 0210 01       		.byte	0x1
 1230 0211 9401     		.2byte	0x194
 1231 0213 6B000000 		.4byte	0x6b
 1232 0217 01       		.uleb128 0x1
 1233 0218 51       		.byte	0x51
 1234 0219 0E       		.uleb128 0xe
 1235 021a DD010000 		.4byte	.LASF24
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 38


 1236 021e 01       		.byte	0x1
 1237 021f 9701     		.2byte	0x197
 1238 0221 6B000000 		.4byte	0x6b
 1239 0225 E0030000 		.4byte	.LLST13
 1240 0229 00       		.byte	0
 1241 022a 0B       		.uleb128 0xb
 1242 022b 38030000 		.4byte	.LASF28
 1243 022f 01       		.byte	0x1
 1244 0230 EA01     		.2byte	0x1ea
 1245 0232 6B000000 		.4byte	0x6b
 1246 0236 00000000 		.4byte	.LFB4
 1247 023a 38000000 		.4byte	.LFE4-.LFB4
 1248 023e 01       		.uleb128 0x1
 1249 023f 9C       		.byte	0x9c
 1250 0240 55020000 		.4byte	0x255
 1251 0244 0E       		.uleb128 0xe
 1252 0245 DD010000 		.4byte	.LASF24
 1253 0249 01       		.byte	0x1
 1254 024a EC01     		.2byte	0x1ec
 1255 024c 6B000000 		.4byte	0x6b
 1256 0250 17040000 		.4byte	.LLST14
 1257 0254 00       		.byte	0
 1258 0255 0B       		.uleb128 0xb
 1259 0256 B6020000 		.4byte	.LASF29
 1260 025a 01       		.byte	0x1
 1261 025b 2402     		.2byte	0x224
 1262 025d 6B000000 		.4byte	0x6b
 1263 0261 00000000 		.4byte	.LFB5
 1264 0265 58000000 		.4byte	.LFE5-.LFB5
 1265 0269 01       		.uleb128 0x1
 1266 026a 9C       		.byte	0x9c
 1267 026b 90020000 		.4byte	0x290
 1268 026f 0C       		.uleb128 0xc
 1269 0270 03030000 		.4byte	.LASF30
 1270 0274 01       		.byte	0x1
 1271 0275 2402     		.2byte	0x224
 1272 0277 6B000000 		.4byte	0x6b
 1273 027b 36040000 		.4byte	.LLST15
 1274 027f 0E       		.uleb128 0xe
 1275 0280 DD010000 		.4byte	.LASF24
 1276 0284 01       		.byte	0x1
 1277 0285 2602     		.2byte	0x226
 1278 0287 6B000000 		.4byte	0x6b
 1279 028b 89040000 		.4byte	.LLST16
 1280 028f 00       		.byte	0
 1281 0290 0B       		.uleb128 0xb
 1282 0291 88020000 		.4byte	.LASF31
 1283 0295 01       		.byte	0x1
 1284 0296 6F02     		.2byte	0x26f
 1285 0298 6B000000 		.4byte	0x6b
 1286 029c 00000000 		.4byte	.LFB6
 1287 02a0 58000000 		.4byte	.LFE6-.LFB6
 1288 02a4 01       		.uleb128 0x1
 1289 02a5 9C       		.byte	0x9c
 1290 02a6 CB020000 		.4byte	0x2cb
 1291 02aa 0C       		.uleb128 0xc
 1292 02ab 39020000 		.4byte	.LASF32
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 39


 1293 02af 01       		.byte	0x1
 1294 02b0 6F02     		.2byte	0x26f
 1295 02b2 6B000000 		.4byte	0x6b
 1296 02b6 D8040000 		.4byte	.LLST17
 1297 02ba 0E       		.uleb128 0xe
 1298 02bb 03030000 		.4byte	.LASF30
 1299 02bf 01       		.byte	0x1
 1300 02c0 7102     		.2byte	0x271
 1301 02c2 6B000000 		.4byte	0x6b
 1302 02c6 F9040000 		.4byte	.LLST18
 1303 02ca 00       		.byte	0
 1304 02cb 0B       		.uleb128 0xb
 1305 02cc 87030000 		.4byte	.LASF33
 1306 02d0 01       		.byte	0x1
 1307 02d1 AC02     		.2byte	0x2ac
 1308 02d3 6B000000 		.4byte	0x6b
 1309 02d7 00000000 		.4byte	.LFB7
 1310 02db 38000000 		.4byte	.LFE7-.LFB7
 1311 02df 01       		.uleb128 0x1
 1312 02e0 9C       		.byte	0x9c
 1313 02e1 F4020000 		.4byte	0x2f4
 1314 02e5 0F       		.uleb128 0xf
 1315 02e6 06000000 		.4byte	.LASF34
 1316 02ea 01       		.byte	0x1
 1317 02eb AE02     		.2byte	0x2ae
 1318 02ed 6B000000 		.4byte	0x6b
 1319 02f1 01       		.uleb128 0x1
 1320 02f2 50       		.byte	0x50
 1321 02f3 00       		.byte	0
 1322 02f4 0B       		.uleb128 0xb
 1323 02f5 0B030000 		.4byte	.LASF35
 1324 02f9 01       		.byte	0x1
 1325 02fa D602     		.2byte	0x2d6
 1326 02fc 6B000000 		.4byte	0x6b
 1327 0300 00000000 		.4byte	.LFB8
 1328 0304 24000000 		.4byte	.LFE8-.LFB8
 1329 0308 01       		.uleb128 0x1
 1330 0309 9C       		.byte	0x9c
 1331 030a 1D030000 		.4byte	0x31d
 1332 030e 0F       		.uleb128 0xf
 1333 030f 06000000 		.4byte	.LASF34
 1334 0313 01       		.byte	0x1
 1335 0314 D802     		.2byte	0x2d8
 1336 0316 6B000000 		.4byte	0x6b
 1337 031a 01       		.uleb128 0x1
 1338 031b 50       		.byte	0x50
 1339 031c 00       		.byte	0
 1340 031d 10       		.uleb128 0x10
 1341 031e 9A030000 		.4byte	.LASF36
 1342 0322 01       		.byte	0x1
 1343 0323 FA02     		.2byte	0x2fa
 1344 0325 6B000000 		.4byte	0x6b
 1345 0329 00000000 		.4byte	.LFB9
 1346 032d 0C000000 		.4byte	.LFE9-.LFB9
 1347 0331 01       		.uleb128 0x1
 1348 0332 9C       		.byte	0x9c
 1349 0333 10       		.uleb128 0x10
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 40


 1350 0334 B6000000 		.4byte	.LASF37
 1351 0338 01       		.byte	0x1
 1352 0339 1403     		.2byte	0x314
 1353 033b 6B000000 		.4byte	0x6b
 1354 033f 00000000 		.4byte	.LFB10
 1355 0343 0C000000 		.4byte	.LFE10-.LFB10
 1356 0347 01       		.uleb128 0x1
 1357 0348 9C       		.byte	0x9c
 1358 0349 11       		.uleb128 0x11
 1359 034a 9D020000 		.4byte	.LASF38
 1360 034e 01       		.byte	0x1
 1361 034f 3103     		.2byte	0x331
 1362 0351 00000000 		.4byte	.LFB11
 1363 0355 30000000 		.4byte	.LFE11-.LFB11
 1364 0359 01       		.uleb128 0x1
 1365 035a 9C       		.byte	0x9c
 1366 035b 11       		.uleb128 0x11
 1367 035c CC020000 		.4byte	.LASF39
 1368 0360 01       		.byte	0x1
 1369 0361 5303     		.2byte	0x353
 1370 0363 00000000 		.4byte	.LFB12
 1371 0367 30000000 		.4byte	.LFE12-.LFB12
 1372 036b 01       		.uleb128 0x1
 1373 036c 9C       		.byte	0x9c
 1374 036d 12       		.uleb128 0x12
 1375 036e 2D020000 		.4byte	.LASF40
 1376 0372 03       		.byte	0x3
 1377 0373 23       		.byte	0x23
 1378 0374 A4000000 		.4byte	0xa4
 1379 0378 13       		.uleb128 0x13
 1380 0379 A5000000 		.4byte	.LASF41
 1381 037d 01       		.byte	0x1
 1382 037e 17       		.byte	0x17
 1383 037f A4000000 		.4byte	0xa4
 1384 0383 05       		.uleb128 0x5
 1385 0384 03       		.byte	0x3
 1386 0385 00000000 		.4byte	I2C_1_mstrStatus
 1387 0389 13       		.uleb128 0x13
 1388 038a B5030000 		.4byte	.LASF42
 1389 038e 01       		.byte	0x1
 1390 038f 18       		.byte	0x18
 1391 0390 A4000000 		.4byte	0xa4
 1392 0394 05       		.uleb128 0x5
 1393 0395 03       		.byte	0x3
 1394 0396 00000000 		.4byte	I2C_1_mstrControl
 1395 039a 13       		.uleb128 0x13
 1396 039b E6020000 		.4byte	.LASF43
 1397 039f 01       		.byte	0x1
 1398 03a0 1B       		.byte	0x1b
 1399 03a1 AB030000 		.4byte	0x3ab
 1400 03a5 05       		.uleb128 0x5
 1401 03a6 03       		.byte	0x3
 1402 03a7 00000000 		.4byte	I2C_1_mstrRdBufPtr
 1403 03ab 0A       		.uleb128 0xa
 1404 03ac 04       		.byte	0x4
 1405 03ad A4000000 		.4byte	0xa4
 1406 03b1 13       		.uleb128 0x13
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 41


 1407 03b2 73030000 		.4byte	.LASF44
 1408 03b6 01       		.byte	0x1
 1409 03b7 1C       		.byte	0x1c
 1410 03b8 A4000000 		.4byte	0xa4
 1411 03bc 05       		.uleb128 0x5
 1412 03bd 03       		.byte	0x3
 1413 03be 00000000 		.4byte	I2C_1_mstrRdBufSize
 1414 03c2 13       		.uleb128 0x13
 1415 03c3 0D000000 		.4byte	.LASF45
 1416 03c7 01       		.byte	0x1
 1417 03c8 1D       		.byte	0x1d
 1418 03c9 A4000000 		.4byte	0xa4
 1419 03cd 05       		.uleb128 0x5
 1420 03ce 03       		.byte	0x3
 1421 03cf 00000000 		.4byte	I2C_1_mstrRdBufIndex
 1422 03d3 13       		.uleb128 0x13
 1423 03d4 22000000 		.4byte	.LASF46
 1424 03d8 01       		.byte	0x1
 1425 03d9 20       		.byte	0x20
 1426 03da AB030000 		.4byte	0x3ab
 1427 03de 05       		.uleb128 0x5
 1428 03df 03       		.byte	0x3
 1429 03e0 00000000 		.4byte	I2C_1_mstrWrBufPtr
 1430 03e4 13       		.uleb128 0x13
 1431 03e5 91000000 		.4byte	.LASF47
 1432 03e9 01       		.byte	0x1
 1433 03ea 21       		.byte	0x21
 1434 03eb A4000000 		.4byte	0xa4
 1435 03ef 05       		.uleb128 0x5
 1436 03f0 03       		.byte	0x3
 1437 03f1 00000000 		.4byte	I2C_1_mstrWrBufSize
 1438 03f5 13       		.uleb128 0x13
 1439 03f6 23030000 		.4byte	.LASF48
 1440 03fa 01       		.byte	0x1
 1441 03fb 22       		.byte	0x22
 1442 03fc A4000000 		.4byte	0xa4
 1443 0400 05       		.uleb128 0x5
 1444 0401 03       		.byte	0x3
 1445 0402 00000000 		.4byte	I2C_1_mstrWrBufIndex
 1446 0406 00       		.byte	0
 1447              		.section	.debug_abbrev,"",%progbits
 1448              	.Ldebug_abbrev0:
 1449 0000 01       		.uleb128 0x1
 1450 0001 11       		.uleb128 0x11
 1451 0002 01       		.byte	0x1
 1452 0003 25       		.uleb128 0x25
 1453 0004 0E       		.uleb128 0xe
 1454 0005 13       		.uleb128 0x13
 1455 0006 0B       		.uleb128 0xb
 1456 0007 03       		.uleb128 0x3
 1457 0008 0E       		.uleb128 0xe
 1458 0009 1B       		.uleb128 0x1b
 1459 000a 0E       		.uleb128 0xe
 1460 000b 55       		.uleb128 0x55
 1461 000c 17       		.uleb128 0x17
 1462 000d 11       		.uleb128 0x11
 1463 000e 01       		.uleb128 0x1
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 42


 1464 000f 10       		.uleb128 0x10
 1465 0010 17       		.uleb128 0x17
 1466 0011 00       		.byte	0
 1467 0012 00       		.byte	0
 1468 0013 02       		.uleb128 0x2
 1469 0014 24       		.uleb128 0x24
 1470 0015 00       		.byte	0
 1471 0016 0B       		.uleb128 0xb
 1472 0017 0B       		.uleb128 0xb
 1473 0018 3E       		.uleb128 0x3e
 1474 0019 0B       		.uleb128 0xb
 1475 001a 03       		.uleb128 0x3
 1476 001b 0E       		.uleb128 0xe
 1477 001c 00       		.byte	0
 1478 001d 00       		.byte	0
 1479 001e 03       		.uleb128 0x3
 1480 001f 24       		.uleb128 0x24
 1481 0020 00       		.byte	0
 1482 0021 0B       		.uleb128 0xb
 1483 0022 0B       		.uleb128 0xb
 1484 0023 3E       		.uleb128 0x3e
 1485 0024 0B       		.uleb128 0xb
 1486 0025 03       		.uleb128 0x3
 1487 0026 08       		.uleb128 0x8
 1488 0027 00       		.byte	0
 1489 0028 00       		.byte	0
 1490 0029 04       		.uleb128 0x4
 1491 002a 16       		.uleb128 0x16
 1492 002b 00       		.byte	0
 1493 002c 03       		.uleb128 0x3
 1494 002d 0E       		.uleb128 0xe
 1495 002e 3A       		.uleb128 0x3a
 1496 002f 0B       		.uleb128 0xb
 1497 0030 3B       		.uleb128 0x3b
 1498 0031 05       		.uleb128 0x5
 1499 0032 49       		.uleb128 0x49
 1500 0033 13       		.uleb128 0x13
 1501 0034 00       		.byte	0
 1502 0035 00       		.byte	0
 1503 0036 05       		.uleb128 0x5
 1504 0037 35       		.uleb128 0x35
 1505 0038 00       		.byte	0
 1506 0039 49       		.uleb128 0x49
 1507 003a 13       		.uleb128 0x13
 1508 003b 00       		.byte	0
 1509 003c 00       		.byte	0
 1510 003d 06       		.uleb128 0x6
 1511 003e 2E       		.uleb128 0x2e
 1512 003f 01       		.byte	0x1
 1513 0040 3F       		.uleb128 0x3f
 1514 0041 19       		.uleb128 0x19
 1515 0042 03       		.uleb128 0x3
 1516 0043 0E       		.uleb128 0xe
 1517 0044 3A       		.uleb128 0x3a
 1518 0045 0B       		.uleb128 0xb
 1519 0046 3B       		.uleb128 0x3b
 1520 0047 0B       		.uleb128 0xb
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 43


 1521 0048 27       		.uleb128 0x27
 1522 0049 19       		.uleb128 0x19
 1523 004a 49       		.uleb128 0x49
 1524 004b 13       		.uleb128 0x13
 1525 004c 11       		.uleb128 0x11
 1526 004d 01       		.uleb128 0x1
 1527 004e 12       		.uleb128 0x12
 1528 004f 06       		.uleb128 0x6
 1529 0050 40       		.uleb128 0x40
 1530 0051 18       		.uleb128 0x18
 1531 0052 9742     		.uleb128 0x2117
 1532 0054 19       		.uleb128 0x19
 1533 0055 01       		.uleb128 0x1
 1534 0056 13       		.uleb128 0x13
 1535 0057 00       		.byte	0
 1536 0058 00       		.byte	0
 1537 0059 07       		.uleb128 0x7
 1538 005a 05       		.uleb128 0x5
 1539 005b 00       		.byte	0
 1540 005c 03       		.uleb128 0x3
 1541 005d 0E       		.uleb128 0xe
 1542 005e 3A       		.uleb128 0x3a
 1543 005f 0B       		.uleb128 0xb
 1544 0060 3B       		.uleb128 0x3b
 1545 0061 0B       		.uleb128 0xb
 1546 0062 49       		.uleb128 0x49
 1547 0063 13       		.uleb128 0x13
 1548 0064 02       		.uleb128 0x2
 1549 0065 17       		.uleb128 0x17
 1550 0066 00       		.byte	0
 1551 0067 00       		.byte	0
 1552 0068 08       		.uleb128 0x8
 1553 0069 05       		.uleb128 0x5
 1554 006a 00       		.byte	0
 1555 006b 03       		.uleb128 0x3
 1556 006c 08       		.uleb128 0x8
 1557 006d 3A       		.uleb128 0x3a
 1558 006e 0B       		.uleb128 0xb
 1559 006f 3B       		.uleb128 0x3b
 1560 0070 0B       		.uleb128 0xb
 1561 0071 49       		.uleb128 0x49
 1562 0072 13       		.uleb128 0x13
 1563 0073 02       		.uleb128 0x2
 1564 0074 17       		.uleb128 0x17
 1565 0075 00       		.byte	0
 1566 0076 00       		.byte	0
 1567 0077 09       		.uleb128 0x9
 1568 0078 34       		.uleb128 0x34
 1569 0079 00       		.byte	0
 1570 007a 03       		.uleb128 0x3
 1571 007b 0E       		.uleb128 0xe
 1572 007c 3A       		.uleb128 0x3a
 1573 007d 0B       		.uleb128 0xb
 1574 007e 3B       		.uleb128 0x3b
 1575 007f 0B       		.uleb128 0xb
 1576 0080 49       		.uleb128 0x49
 1577 0081 13       		.uleb128 0x13
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 44


 1578 0082 02       		.uleb128 0x2
 1579 0083 17       		.uleb128 0x17
 1580 0084 00       		.byte	0
 1581 0085 00       		.byte	0
 1582 0086 0A       		.uleb128 0xa
 1583 0087 0F       		.uleb128 0xf
 1584 0088 00       		.byte	0
 1585 0089 0B       		.uleb128 0xb
 1586 008a 0B       		.uleb128 0xb
 1587 008b 49       		.uleb128 0x49
 1588 008c 13       		.uleb128 0x13
 1589 008d 00       		.byte	0
 1590 008e 00       		.byte	0
 1591 008f 0B       		.uleb128 0xb
 1592 0090 2E       		.uleb128 0x2e
 1593 0091 01       		.byte	0x1
 1594 0092 3F       		.uleb128 0x3f
 1595 0093 19       		.uleb128 0x19
 1596 0094 03       		.uleb128 0x3
 1597 0095 0E       		.uleb128 0xe
 1598 0096 3A       		.uleb128 0x3a
 1599 0097 0B       		.uleb128 0xb
 1600 0098 3B       		.uleb128 0x3b
 1601 0099 05       		.uleb128 0x5
 1602 009a 27       		.uleb128 0x27
 1603 009b 19       		.uleb128 0x19
 1604 009c 49       		.uleb128 0x49
 1605 009d 13       		.uleb128 0x13
 1606 009e 11       		.uleb128 0x11
 1607 009f 01       		.uleb128 0x1
 1608 00a0 12       		.uleb128 0x12
 1609 00a1 06       		.uleb128 0x6
 1610 00a2 40       		.uleb128 0x40
 1611 00a3 18       		.uleb128 0x18
 1612 00a4 9742     		.uleb128 0x2117
 1613 00a6 19       		.uleb128 0x19
 1614 00a7 01       		.uleb128 0x1
 1615 00a8 13       		.uleb128 0x13
 1616 00a9 00       		.byte	0
 1617 00aa 00       		.byte	0
 1618 00ab 0C       		.uleb128 0xc
 1619 00ac 05       		.uleb128 0x5
 1620 00ad 00       		.byte	0
 1621 00ae 03       		.uleb128 0x3
 1622 00af 0E       		.uleb128 0xe
 1623 00b0 3A       		.uleb128 0x3a
 1624 00b1 0B       		.uleb128 0xb
 1625 00b2 3B       		.uleb128 0x3b
 1626 00b3 05       		.uleb128 0x5
 1627 00b4 49       		.uleb128 0x49
 1628 00b5 13       		.uleb128 0x13
 1629 00b6 02       		.uleb128 0x2
 1630 00b7 17       		.uleb128 0x17
 1631 00b8 00       		.byte	0
 1632 00b9 00       		.byte	0
 1633 00ba 0D       		.uleb128 0xd
 1634 00bb 05       		.uleb128 0x5
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 45


 1635 00bc 00       		.byte	0
 1636 00bd 03       		.uleb128 0x3
 1637 00be 0E       		.uleb128 0xe
 1638 00bf 3A       		.uleb128 0x3a
 1639 00c0 0B       		.uleb128 0xb
 1640 00c1 3B       		.uleb128 0x3b
 1641 00c2 05       		.uleb128 0x5
 1642 00c3 49       		.uleb128 0x49
 1643 00c4 13       		.uleb128 0x13
 1644 00c5 02       		.uleb128 0x2
 1645 00c6 18       		.uleb128 0x18
 1646 00c7 00       		.byte	0
 1647 00c8 00       		.byte	0
 1648 00c9 0E       		.uleb128 0xe
 1649 00ca 34       		.uleb128 0x34
 1650 00cb 00       		.byte	0
 1651 00cc 03       		.uleb128 0x3
 1652 00cd 0E       		.uleb128 0xe
 1653 00ce 3A       		.uleb128 0x3a
 1654 00cf 0B       		.uleb128 0xb
 1655 00d0 3B       		.uleb128 0x3b
 1656 00d1 05       		.uleb128 0x5
 1657 00d2 49       		.uleb128 0x49
 1658 00d3 13       		.uleb128 0x13
 1659 00d4 02       		.uleb128 0x2
 1660 00d5 17       		.uleb128 0x17
 1661 00d6 00       		.byte	0
 1662 00d7 00       		.byte	0
 1663 00d8 0F       		.uleb128 0xf
 1664 00d9 34       		.uleb128 0x34
 1665 00da 00       		.byte	0
 1666 00db 03       		.uleb128 0x3
 1667 00dc 0E       		.uleb128 0xe
 1668 00dd 3A       		.uleb128 0x3a
 1669 00de 0B       		.uleb128 0xb
 1670 00df 3B       		.uleb128 0x3b
 1671 00e0 05       		.uleb128 0x5
 1672 00e1 49       		.uleb128 0x49
 1673 00e2 13       		.uleb128 0x13
 1674 00e3 02       		.uleb128 0x2
 1675 00e4 18       		.uleb128 0x18
 1676 00e5 00       		.byte	0
 1677 00e6 00       		.byte	0
 1678 00e7 10       		.uleb128 0x10
 1679 00e8 2E       		.uleb128 0x2e
 1680 00e9 00       		.byte	0
 1681 00ea 3F       		.uleb128 0x3f
 1682 00eb 19       		.uleb128 0x19
 1683 00ec 03       		.uleb128 0x3
 1684 00ed 0E       		.uleb128 0xe
 1685 00ee 3A       		.uleb128 0x3a
 1686 00ef 0B       		.uleb128 0xb
 1687 00f0 3B       		.uleb128 0x3b
 1688 00f1 05       		.uleb128 0x5
 1689 00f2 27       		.uleb128 0x27
 1690 00f3 19       		.uleb128 0x19
 1691 00f4 49       		.uleb128 0x49
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 46


 1692 00f5 13       		.uleb128 0x13
 1693 00f6 11       		.uleb128 0x11
 1694 00f7 01       		.uleb128 0x1
 1695 00f8 12       		.uleb128 0x12
 1696 00f9 06       		.uleb128 0x6
 1697 00fa 40       		.uleb128 0x40
 1698 00fb 18       		.uleb128 0x18
 1699 00fc 9742     		.uleb128 0x2117
 1700 00fe 19       		.uleb128 0x19
 1701 00ff 00       		.byte	0
 1702 0100 00       		.byte	0
 1703 0101 11       		.uleb128 0x11
 1704 0102 2E       		.uleb128 0x2e
 1705 0103 00       		.byte	0
 1706 0104 3F       		.uleb128 0x3f
 1707 0105 19       		.uleb128 0x19
 1708 0106 03       		.uleb128 0x3
 1709 0107 0E       		.uleb128 0xe
 1710 0108 3A       		.uleb128 0x3a
 1711 0109 0B       		.uleb128 0xb
 1712 010a 3B       		.uleb128 0x3b
 1713 010b 05       		.uleb128 0x5
 1714 010c 27       		.uleb128 0x27
 1715 010d 19       		.uleb128 0x19
 1716 010e 11       		.uleb128 0x11
 1717 010f 01       		.uleb128 0x1
 1718 0110 12       		.uleb128 0x12
 1719 0111 06       		.uleb128 0x6
 1720 0112 40       		.uleb128 0x40
 1721 0113 18       		.uleb128 0x18
 1722 0114 9742     		.uleb128 0x2117
 1723 0116 19       		.uleb128 0x19
 1724 0117 00       		.byte	0
 1725 0118 00       		.byte	0
 1726 0119 12       		.uleb128 0x12
 1727 011a 34       		.uleb128 0x34
 1728 011b 00       		.byte	0
 1729 011c 03       		.uleb128 0x3
 1730 011d 0E       		.uleb128 0xe
 1731 011e 3A       		.uleb128 0x3a
 1732 011f 0B       		.uleb128 0xb
 1733 0120 3B       		.uleb128 0x3b
 1734 0121 0B       		.uleb128 0xb
 1735 0122 49       		.uleb128 0x49
 1736 0123 13       		.uleb128 0x13
 1737 0124 3F       		.uleb128 0x3f
 1738 0125 19       		.uleb128 0x19
 1739 0126 3C       		.uleb128 0x3c
 1740 0127 19       		.uleb128 0x19
 1741 0128 00       		.byte	0
 1742 0129 00       		.byte	0
 1743 012a 13       		.uleb128 0x13
 1744 012b 34       		.uleb128 0x34
 1745 012c 00       		.byte	0
 1746 012d 03       		.uleb128 0x3
 1747 012e 0E       		.uleb128 0xe
 1748 012f 3A       		.uleb128 0x3a
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 47


 1749 0130 0B       		.uleb128 0xb
 1750 0131 3B       		.uleb128 0x3b
 1751 0132 0B       		.uleb128 0xb
 1752 0133 49       		.uleb128 0x49
 1753 0134 13       		.uleb128 0x13
 1754 0135 3F       		.uleb128 0x3f
 1755 0136 19       		.uleb128 0x19
 1756 0137 02       		.uleb128 0x2
 1757 0138 18       		.uleb128 0x18
 1758 0139 00       		.byte	0
 1759 013a 00       		.byte	0
 1760 013b 00       		.byte	0
 1761              		.section	.debug_loc,"",%progbits
 1762              	.Ldebug_loc0:
 1763              	.LLST0:
 1764 0000 00000000 		.4byte	.LVL0
 1765 0004 70000000 		.4byte	.LVL8
 1766 0008 0100     		.2byte	0x1
 1767 000a 50       		.byte	0x50
 1768 000b 70000000 		.4byte	.LVL8
 1769 000f 96000000 		.4byte	.LVL13
 1770 0013 0400     		.2byte	0x4
 1771 0015 F3       		.byte	0xf3
 1772 0016 01       		.uleb128 0x1
 1773 0017 50       		.byte	0x50
 1774 0018 9F       		.byte	0x9f
 1775 0019 96000000 		.4byte	.LVL13
 1776 001d 9A000000 		.4byte	.LVL15
 1777 0021 0100     		.2byte	0x1
 1778 0023 50       		.byte	0x50
 1779 0024 9A000000 		.4byte	.LVL15
 1780 0028 CC000000 		.4byte	.LFE0
 1781 002c 0400     		.2byte	0x4
 1782 002e F3       		.byte	0xf3
 1783 002f 01       		.uleb128 0x1
 1784 0030 50       		.byte	0x50
 1785 0031 9F       		.byte	0x9f
 1786 0032 00000000 		.4byte	0
 1787 0036 00000000 		.4byte	0
 1788              	.LLST1:
 1789 003a 00000000 		.4byte	.LVL0
 1790 003e 0A000000 		.4byte	.LVL1
 1791 0042 0100     		.2byte	0x1
 1792 0044 51       		.byte	0x51
 1793 0045 0A000000 		.4byte	.LVL1
 1794 0049 62000000 		.4byte	.LVL7
 1795 004d 0100     		.2byte	0x1
 1796 004f 54       		.byte	0x54
 1797 0050 62000000 		.4byte	.LVL7
 1798 0054 72000000 		.4byte	.LVL9
 1799 0058 0500     		.2byte	0x5
 1800 005a 03       		.byte	0x3
 1801 005b 00000000 		.4byte	I2C_1_mstrWrBufPtr
 1802 005f 72000000 		.4byte	.LVL9
 1803 0063 96000000 		.4byte	.LVL13
 1804 0067 0400     		.2byte	0x4
 1805 0069 F3       		.byte	0xf3
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 48


 1806 006a 01       		.uleb128 0x1
 1807 006b 51       		.byte	0x51
 1808 006c 9F       		.byte	0x9f
 1809 006d 96000000 		.4byte	.LVL13
 1810 0071 98000000 		.4byte	.LVL14
 1811 0075 0100     		.2byte	0x1
 1812 0077 51       		.byte	0x51
 1813 0078 98000000 		.4byte	.LVL14
 1814 007c CC000000 		.4byte	.LFE0
 1815 0080 0400     		.2byte	0x4
 1816 0082 F3       		.byte	0xf3
 1817 0083 01       		.uleb128 0x1
 1818 0084 51       		.byte	0x51
 1819 0085 9F       		.byte	0x9f
 1820 0086 00000000 		.4byte	0
 1821 008a 00000000 		.4byte	0
 1822              	.LLST2:
 1823 008e 00000000 		.4byte	.LVL0
 1824 0092 5A000000 		.4byte	.LVL5
 1825 0096 0100     		.2byte	0x1
 1826 0098 52       		.byte	0x52
 1827 0099 5A000000 		.4byte	.LVL5
 1828 009d 60000000 		.4byte	.LVL6
 1829 00a1 0500     		.2byte	0x5
 1830 00a3 03       		.byte	0x3
 1831 00a4 00000000 		.4byte	I2C_1_mstrWrBufSize
 1832 00a8 60000000 		.4byte	.LVL6
 1833 00ac 96000000 		.4byte	.LVL13
 1834 00b0 0400     		.2byte	0x4
 1835 00b2 F3       		.byte	0xf3
 1836 00b3 01       		.uleb128 0x1
 1837 00b4 52       		.byte	0x52
 1838 00b5 9F       		.byte	0x9f
 1839 00b6 96000000 		.4byte	.LVL13
 1840 00ba 9C000000 		.4byte	.LVL16
 1841 00be 0100     		.2byte	0x1
 1842 00c0 52       		.byte	0x52
 1843 00c1 9C000000 		.4byte	.LVL16
 1844 00c5 CC000000 		.4byte	.LFE0
 1845 00c9 0400     		.2byte	0x4
 1846 00cb F3       		.byte	0xf3
 1847 00cc 01       		.uleb128 0x1
 1848 00cd 52       		.byte	0x52
 1849 00ce 9F       		.byte	0x9f
 1850 00cf 00000000 		.4byte	0
 1851 00d3 00000000 		.4byte	0
 1852              	.LLST3:
 1853 00d7 00000000 		.4byte	.LVL0
 1854 00db 7C000000 		.4byte	.LVL10
 1855 00df 0100     		.2byte	0x1
 1856 00e1 53       		.byte	0x53
 1857 00e2 7C000000 		.4byte	.LVL10
 1858 00e6 86000000 		.4byte	.LVL11
 1859 00ea 0400     		.2byte	0x4
 1860 00ec F3       		.byte	0xf3
 1861 00ed 01       		.uleb128 0x1
 1862 00ee 53       		.byte	0x53
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 49


 1863 00ef 9F       		.byte	0x9f
 1864 00f0 86000000 		.4byte	.LVL11
 1865 00f4 8A000000 		.4byte	.LVL12
 1866 00f8 0100     		.2byte	0x1
 1867 00fa 53       		.byte	0x53
 1868 00fb 8A000000 		.4byte	.LVL12
 1869 00ff 96000000 		.4byte	.LVL13
 1870 0103 0400     		.2byte	0x4
 1871 0105 F3       		.byte	0xf3
 1872 0106 01       		.uleb128 0x1
 1873 0107 53       		.byte	0x53
 1874 0108 9F       		.byte	0x9f
 1875 0109 96000000 		.4byte	.LVL13
 1876 010d 9C000000 		.4byte	.LVL16
 1877 0111 0100     		.2byte	0x1
 1878 0113 53       		.byte	0x53
 1879 0114 9C000000 		.4byte	.LVL16
 1880 0118 CC000000 		.4byte	.LFE0
 1881 011c 0400     		.2byte	0x4
 1882 011e F3       		.byte	0xf3
 1883 011f 01       		.uleb128 0x1
 1884 0120 53       		.byte	0x53
 1885 0121 9F       		.byte	0x9f
 1886 0122 00000000 		.4byte	0
 1887 0126 00000000 		.4byte	0
 1888              	.LLST4:
 1889 012a 00000000 		.4byte	.LVL0
 1890 012e 2A000000 		.4byte	.LVL2
 1891 0132 0200     		.2byte	0x2
 1892 0134 32       		.byte	0x32
 1893 0135 9F       		.byte	0x9f
 1894 0136 2A000000 		.4byte	.LVL2
 1895 013a 40000000 		.4byte	.LVL3
 1896 013e 0200     		.2byte	0x2
 1897 0140 30       		.byte	0x30
 1898 0141 9F       		.byte	0x9f
 1899 0142 40000000 		.4byte	.LVL3
 1900 0146 46000000 		.4byte	.LVL4
 1901 014a 0200     		.2byte	0x2
 1902 014c 32       		.byte	0x32
 1903 014d 9F       		.byte	0x9f
 1904 014e 46000000 		.4byte	.LVL4
 1905 0152 96000000 		.4byte	.LVL13
 1906 0156 0100     		.2byte	0x1
 1907 0158 51       		.byte	0x51
 1908 0159 96000000 		.4byte	.LVL13
 1909 015d 98000000 		.4byte	.LVL14
 1910 0161 0200     		.2byte	0x2
 1911 0163 32       		.byte	0x32
 1912 0164 9F       		.byte	0x9f
 1913 0165 98000000 		.4byte	.LVL14
 1914 0169 CC000000 		.4byte	.LFE0
 1915 016d 0100     		.2byte	0x1
 1916 016f 51       		.byte	0x51
 1917 0170 00000000 		.4byte	0
 1918 0174 00000000 		.4byte	0
 1919              	.LLST5:
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 50


 1920 0178 00000000 		.4byte	.LVL17
 1921 017c 74000000 		.4byte	.LVL25
 1922 0180 0100     		.2byte	0x1
 1923 0182 50       		.byte	0x50
 1924 0183 74000000 		.4byte	.LVL25
 1925 0187 9A000000 		.4byte	.LVL30
 1926 018b 0400     		.2byte	0x4
 1927 018d F3       		.byte	0xf3
 1928 018e 01       		.uleb128 0x1
 1929 018f 50       		.byte	0x50
 1930 0190 9F       		.byte	0x9f
 1931 0191 9A000000 		.4byte	.LVL30
 1932 0195 9E000000 		.4byte	.LVL32
 1933 0199 0100     		.2byte	0x1
 1934 019b 50       		.byte	0x50
 1935 019c 9E000000 		.4byte	.LVL32
 1936 01a0 D0000000 		.4byte	.LFE1
 1937 01a4 0400     		.2byte	0x4
 1938 01a6 F3       		.byte	0xf3
 1939 01a7 01       		.uleb128 0x1
 1940 01a8 50       		.byte	0x50
 1941 01a9 9F       		.byte	0x9f
 1942 01aa 00000000 		.4byte	0
 1943 01ae 00000000 		.4byte	0
 1944              	.LLST6:
 1945 01b2 00000000 		.4byte	.LVL17
 1946 01b6 0A000000 		.4byte	.LVL18
 1947 01ba 0100     		.2byte	0x1
 1948 01bc 51       		.byte	0x51
 1949 01bd 0A000000 		.4byte	.LVL18
 1950 01c1 62000000 		.4byte	.LVL24
 1951 01c5 0100     		.2byte	0x1
 1952 01c7 54       		.byte	0x54
 1953 01c8 62000000 		.4byte	.LVL24
 1954 01cc 76000000 		.4byte	.LVL26
 1955 01d0 0500     		.2byte	0x5
 1956 01d2 03       		.byte	0x3
 1957 01d3 00000000 		.4byte	I2C_1_mstrRdBufPtr
 1958 01d7 76000000 		.4byte	.LVL26
 1959 01db 9A000000 		.4byte	.LVL30
 1960 01df 0400     		.2byte	0x4
 1961 01e1 F3       		.byte	0xf3
 1962 01e2 01       		.uleb128 0x1
 1963 01e3 51       		.byte	0x51
 1964 01e4 9F       		.byte	0x9f
 1965 01e5 9A000000 		.4byte	.LVL30
 1966 01e9 9C000000 		.4byte	.LVL31
 1967 01ed 0100     		.2byte	0x1
 1968 01ef 51       		.byte	0x51
 1969 01f0 9C000000 		.4byte	.LVL31
 1970 01f4 D0000000 		.4byte	.LFE1
 1971 01f8 0400     		.2byte	0x4
 1972 01fa F3       		.byte	0xf3
 1973 01fb 01       		.uleb128 0x1
 1974 01fc 51       		.byte	0x51
 1975 01fd 9F       		.byte	0x9f
 1976 01fe 00000000 		.4byte	0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 51


 1977 0202 00000000 		.4byte	0
 1978              	.LLST7:
 1979 0206 00000000 		.4byte	.LVL17
 1980 020a 5A000000 		.4byte	.LVL22
 1981 020e 0100     		.2byte	0x1
 1982 0210 52       		.byte	0x52
 1983 0211 5A000000 		.4byte	.LVL22
 1984 0215 60000000 		.4byte	.LVL23
 1985 0219 0500     		.2byte	0x5
 1986 021b 03       		.byte	0x3
 1987 021c 00000000 		.4byte	I2C_1_mstrRdBufSize
 1988 0220 60000000 		.4byte	.LVL23
 1989 0224 9A000000 		.4byte	.LVL30
 1990 0228 0400     		.2byte	0x4
 1991 022a F3       		.byte	0xf3
 1992 022b 01       		.uleb128 0x1
 1993 022c 52       		.byte	0x52
 1994 022d 9F       		.byte	0x9f
 1995 022e 9A000000 		.4byte	.LVL30
 1996 0232 A0000000 		.4byte	.LVL33
 1997 0236 0100     		.2byte	0x1
 1998 0238 52       		.byte	0x52
 1999 0239 A0000000 		.4byte	.LVL33
 2000 023d D0000000 		.4byte	.LFE1
 2001 0241 0400     		.2byte	0x4
 2002 0243 F3       		.byte	0xf3
 2003 0244 01       		.uleb128 0x1
 2004 0245 52       		.byte	0x52
 2005 0246 9F       		.byte	0x9f
 2006 0247 00000000 		.4byte	0
 2007 024b 00000000 		.4byte	0
 2008              	.LLST8:
 2009 024f 00000000 		.4byte	.LVL17
 2010 0253 80000000 		.4byte	.LVL27
 2011 0257 0100     		.2byte	0x1
 2012 0259 53       		.byte	0x53
 2013 025a 80000000 		.4byte	.LVL27
 2014 025e 8A000000 		.4byte	.LVL28
 2015 0262 0400     		.2byte	0x4
 2016 0264 F3       		.byte	0xf3
 2017 0265 01       		.uleb128 0x1
 2018 0266 53       		.byte	0x53
 2019 0267 9F       		.byte	0x9f
 2020 0268 8A000000 		.4byte	.LVL28
 2021 026c 8E000000 		.4byte	.LVL29
 2022 0270 0100     		.2byte	0x1
 2023 0272 53       		.byte	0x53
 2024 0273 8E000000 		.4byte	.LVL29
 2025 0277 9A000000 		.4byte	.LVL30
 2026 027b 0400     		.2byte	0x4
 2027 027d F3       		.byte	0xf3
 2028 027e 01       		.uleb128 0x1
 2029 027f 53       		.byte	0x53
 2030 0280 9F       		.byte	0x9f
 2031 0281 9A000000 		.4byte	.LVL30
 2032 0285 A0000000 		.4byte	.LVL33
 2033 0289 0100     		.2byte	0x1
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 52


 2034 028b 53       		.byte	0x53
 2035 028c A0000000 		.4byte	.LVL33
 2036 0290 D0000000 		.4byte	.LFE1
 2037 0294 0400     		.2byte	0x4
 2038 0296 F3       		.byte	0xf3
 2039 0297 01       		.uleb128 0x1
 2040 0298 53       		.byte	0x53
 2041 0299 9F       		.byte	0x9f
 2042 029a 00000000 		.4byte	0
 2043 029e 00000000 		.4byte	0
 2044              	.LLST9:
 2045 02a2 00000000 		.4byte	.LVL17
 2046 02a6 2A000000 		.4byte	.LVL19
 2047 02aa 0200     		.2byte	0x2
 2048 02ac 32       		.byte	0x32
 2049 02ad 9F       		.byte	0x9f
 2050 02ae 2A000000 		.4byte	.LVL19
 2051 02b2 40000000 		.4byte	.LVL20
 2052 02b6 0200     		.2byte	0x2
 2053 02b8 30       		.byte	0x30
 2054 02b9 9F       		.byte	0x9f
 2055 02ba 40000000 		.4byte	.LVL20
 2056 02be 46000000 		.4byte	.LVL21
 2057 02c2 0200     		.2byte	0x2
 2058 02c4 32       		.byte	0x32
 2059 02c5 9F       		.byte	0x9f
 2060 02c6 46000000 		.4byte	.LVL21
 2061 02ca 9A000000 		.4byte	.LVL30
 2062 02ce 0100     		.2byte	0x1
 2063 02d0 51       		.byte	0x51
 2064 02d1 9A000000 		.4byte	.LVL30
 2065 02d5 9C000000 		.4byte	.LVL31
 2066 02d9 0200     		.2byte	0x2
 2067 02db 32       		.byte	0x32
 2068 02dc 9F       		.byte	0x9f
 2069 02dd 9C000000 		.4byte	.LVL31
 2070 02e1 D0000000 		.4byte	.LFE1
 2071 02e5 0100     		.2byte	0x1
 2072 02e7 51       		.byte	0x51
 2073 02e8 00000000 		.4byte	0
 2074 02ec 00000000 		.4byte	0
 2075              	.LLST10:
 2076 02f0 00000000 		.4byte	.LVL34
 2077 02f4 1E000000 		.4byte	.LVL35
 2078 02f8 0100     		.2byte	0x1
 2079 02fa 50       		.byte	0x50
 2080 02fb 1E000000 		.4byte	.LVL35
 2081 02ff 20000000 		.4byte	.LVL36
 2082 0303 0400     		.2byte	0x4
 2083 0305 F3       		.byte	0xf3
 2084 0306 01       		.uleb128 0x1
 2085 0307 50       		.byte	0x50
 2086 0308 9F       		.byte	0x9f
 2087 0309 20000000 		.4byte	.LVL36
 2088 030d 5C000000 		.4byte	.LVL39
 2089 0311 0100     		.2byte	0x1
 2090 0313 50       		.byte	0x50
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 53


 2091 0314 5E000000 		.4byte	.LVL40
 2092 0318 60000000 		.4byte	.LVL41
 2093 031c 0100     		.2byte	0x1
 2094 031e 50       		.byte	0x50
 2095 031f 60000000 		.4byte	.LVL41
 2096 0323 62000000 		.4byte	.LVL42
 2097 0327 0400     		.2byte	0x4
 2098 0329 F3       		.byte	0xf3
 2099 032a 01       		.uleb128 0x1
 2100 032b 50       		.byte	0x50
 2101 032c 9F       		.byte	0x9f
 2102 032d 62000000 		.4byte	.LVL42
 2103 0331 64000000 		.4byte	.LVL43
 2104 0335 0100     		.2byte	0x1
 2105 0337 50       		.byte	0x50
 2106 0338 64000000 		.4byte	.LVL43
 2107 033c 66000000 		.4byte	.LVL44
 2108 0340 0400     		.2byte	0x4
 2109 0342 F3       		.byte	0xf3
 2110 0343 01       		.uleb128 0x1
 2111 0344 50       		.byte	0x50
 2112 0345 9F       		.byte	0x9f
 2113 0346 66000000 		.4byte	.LVL44
 2114 034a 68000000 		.4byte	.LVL45
 2115 034e 0100     		.2byte	0x1
 2116 0350 50       		.byte	0x50
 2117 0351 00000000 		.4byte	0
 2118 0355 00000000 		.4byte	0
 2119              	.LLST11:
 2120 0359 00000000 		.4byte	.LVL34
 2121 035d 5A000000 		.4byte	.LVL38
 2122 0361 0200     		.2byte	0x2
 2123 0363 32       		.byte	0x32
 2124 0364 9F       		.byte	0x9f
 2125 0365 5A000000 		.4byte	.LVL38
 2126 0369 5E000000 		.4byte	.LVL40
 2127 036d 0200     		.2byte	0x2
 2128 036f 33       		.byte	0x33
 2129 0370 9F       		.byte	0x9f
 2130 0371 5E000000 		.4byte	.LVL40
 2131 0375 68000000 		.4byte	.LVL45
 2132 0379 0200     		.2byte	0x2
 2133 037b 32       		.byte	0x32
 2134 037c 9F       		.byte	0x9f
 2135 037d 68000000 		.4byte	.LVL45
 2136 0381 80000000 		.4byte	.LFE2
 2137 0385 0100     		.2byte	0x1
 2138 0387 50       		.byte	0x50
 2139 0388 00000000 		.4byte	0
 2140 038c 00000000 		.4byte	0
 2141              	.LLST12:
 2142 0390 00000000 		.4byte	.LVL46
 2143 0394 0C000000 		.4byte	.LVL47
 2144 0398 0100     		.2byte	0x1
 2145 039a 50       		.byte	0x50
 2146 039b 0C000000 		.4byte	.LVL47
 2147 039f 0E000000 		.4byte	.LVL48
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 54


 2148 03a3 0400     		.2byte	0x4
 2149 03a5 F3       		.byte	0xf3
 2150 03a6 01       		.uleb128 0x1
 2151 03a7 50       		.byte	0x50
 2152 03a8 9F       		.byte	0x9f
 2153 03a9 0E000000 		.4byte	.LVL48
 2154 03ad 50000000 		.4byte	.LVL51
 2155 03b1 0100     		.2byte	0x1
 2156 03b3 50       		.byte	0x50
 2157 03b4 52000000 		.4byte	.LVL52
 2158 03b8 54000000 		.4byte	.LVL53
 2159 03bc 0100     		.2byte	0x1
 2160 03be 50       		.byte	0x50
 2161 03bf 54000000 		.4byte	.LVL53
 2162 03c3 56000000 		.4byte	.LVL54
 2163 03c7 0400     		.2byte	0x4
 2164 03c9 F3       		.byte	0xf3
 2165 03ca 01       		.uleb128 0x1
 2166 03cb 50       		.byte	0x50
 2167 03cc 9F       		.byte	0x9f
 2168 03cd 56000000 		.4byte	.LVL54
 2169 03d1 58000000 		.4byte	.LVL55
 2170 03d5 0100     		.2byte	0x1
 2171 03d7 50       		.byte	0x50
 2172 03d8 00000000 		.4byte	0
 2173 03dc 00000000 		.4byte	0
 2174              	.LLST13:
 2175 03e0 00000000 		.4byte	.LVL46
 2176 03e4 4E000000 		.4byte	.LVL50
 2177 03e8 0200     		.2byte	0x2
 2178 03ea 32       		.byte	0x32
 2179 03eb 9F       		.byte	0x9f
 2180 03ec 4E000000 		.4byte	.LVL50
 2181 03f0 52000000 		.4byte	.LVL52
 2182 03f4 0200     		.2byte	0x2
 2183 03f6 33       		.byte	0x33
 2184 03f7 9F       		.byte	0x9f
 2185 03f8 52000000 		.4byte	.LVL52
 2186 03fc 58000000 		.4byte	.LVL55
 2187 0400 0200     		.2byte	0x2
 2188 0402 32       		.byte	0x32
 2189 0403 9F       		.byte	0x9f
 2190 0404 58000000 		.4byte	.LVL55
 2191 0408 6C000000 		.4byte	.LFE3
 2192 040c 0100     		.2byte	0x1
 2193 040e 50       		.byte	0x50
 2194 040f 00000000 		.4byte	0
 2195 0413 00000000 		.4byte	0
 2196              	.LLST14:
 2197 0417 00000000 		.4byte	.LVL56
 2198 041b 2A000000 		.4byte	.LVL57
 2199 041f 0200     		.2byte	0x2
 2200 0421 32       		.byte	0x32
 2201 0422 9F       		.byte	0x9f
 2202 0423 2A000000 		.4byte	.LVL57
 2203 0427 38000000 		.4byte	.LFE4
 2204 042b 0100     		.2byte	0x1
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 55


 2205 042d 50       		.byte	0x50
 2206 042e 00000000 		.4byte	0
 2207 0432 00000000 		.4byte	0
 2208              	.LLST15:
 2209 0436 00000000 		.4byte	.LVL58
 2210 043a 36000000 		.4byte	.LVL60
 2211 043e 0100     		.2byte	0x1
 2212 0440 50       		.byte	0x50
 2213 0441 36000000 		.4byte	.LVL60
 2214 0445 38000000 		.4byte	.LVL61
 2215 0449 0400     		.2byte	0x4
 2216 044b F3       		.byte	0xf3
 2217 044c 01       		.uleb128 0x1
 2218 044d 50       		.byte	0x50
 2219 044e 9F       		.byte	0x9f
 2220 044f 38000000 		.4byte	.LVL61
 2221 0453 40000000 		.4byte	.LVL63
 2222 0457 0100     		.2byte	0x1
 2223 0459 50       		.byte	0x50
 2224 045a 40000000 		.4byte	.LVL63
 2225 045e 42000000 		.4byte	.LVL64
 2226 0462 0400     		.2byte	0x4
 2227 0464 F3       		.byte	0xf3
 2228 0465 01       		.uleb128 0x1
 2229 0466 50       		.byte	0x50
 2230 0467 9F       		.byte	0x9f
 2231 0468 42000000 		.4byte	.LVL64
 2232 046c 44000000 		.4byte	.LVL65
 2233 0470 0100     		.2byte	0x1
 2234 0472 50       		.byte	0x50
 2235 0473 44000000 		.4byte	.LVL65
 2236 0477 58000000 		.4byte	.LFE5
 2237 047b 0400     		.2byte	0x4
 2238 047d F3       		.byte	0xf3
 2239 047e 01       		.uleb128 0x1
 2240 047f 50       		.byte	0x50
 2241 0480 9F       		.byte	0x9f
 2242 0481 00000000 		.4byte	0
 2243 0485 00000000 		.4byte	0
 2244              	.LLST16:
 2245 0489 00000000 		.4byte	.LVL58
 2246 048d 34000000 		.4byte	.LVL59
 2247 0491 0200     		.2byte	0x2
 2248 0493 32       		.byte	0x32
 2249 0494 9F       		.byte	0x9f
 2250 0495 34000000 		.4byte	.LVL59
 2251 0499 38000000 		.4byte	.LVL61
 2252 049d 0200     		.2byte	0x2
 2253 049f 30       		.byte	0x30
 2254 04a0 9F       		.byte	0x9f
 2255 04a1 38000000 		.4byte	.LVL61
 2256 04a5 3E000000 		.4byte	.LVL62
 2257 04a9 0200     		.2byte	0x2
 2258 04ab 32       		.byte	0x32
 2259 04ac 9F       		.byte	0x9f
 2260 04ad 3E000000 		.4byte	.LVL62
 2261 04b1 42000000 		.4byte	.LVL64
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 56


 2262 04b5 0200     		.2byte	0x2
 2263 04b7 33       		.byte	0x33
 2264 04b8 9F       		.byte	0x9f
 2265 04b9 42000000 		.4byte	.LVL64
 2266 04bd 44000000 		.4byte	.LVL65
 2267 04c1 0200     		.2byte	0x2
 2268 04c3 32       		.byte	0x32
 2269 04c4 9F       		.byte	0x9f
 2270 04c5 44000000 		.4byte	.LVL65
 2271 04c9 58000000 		.4byte	.LFE5
 2272 04cd 0100     		.2byte	0x1
 2273 04cf 50       		.byte	0x50
 2274 04d0 00000000 		.4byte	0
 2275 04d4 00000000 		.4byte	0
 2276              	.LLST17:
 2277 04d8 00000000 		.4byte	.LVL66
 2278 04dc 46000000 		.4byte	.LVL70
 2279 04e0 0100     		.2byte	0x1
 2280 04e2 50       		.byte	0x50
 2281 04e3 46000000 		.4byte	.LVL70
 2282 04e7 58000000 		.4byte	.LFE6
 2283 04eb 0400     		.2byte	0x4
 2284 04ed F3       		.byte	0xf3
 2285 04ee 01       		.uleb128 0x1
 2286 04ef 50       		.byte	0x50
 2287 04f0 9F       		.byte	0x9f
 2288 04f1 00000000 		.4byte	0
 2289 04f5 00000000 		.4byte	0
 2290              	.LLST18:
 2291 04f9 00000000 		.4byte	.LVL66
 2292 04fd 30000000 		.4byte	.LVL67
 2293 0501 0200     		.2byte	0x2
 2294 0503 30       		.byte	0x30
 2295 0504 9F       		.byte	0x9f
 2296 0505 30000000 		.4byte	.LVL67
 2297 0509 42000000 		.4byte	.LVL68
 2298 050d 0100     		.2byte	0x1
 2299 050f 53       		.byte	0x53
 2300 0510 42000000 		.4byte	.LVL68
 2301 0514 44000000 		.4byte	.LVL69
 2302 0518 0200     		.2byte	0x2
 2303 051a 30       		.byte	0x30
 2304 051b 9F       		.byte	0x9f
 2305 051c 44000000 		.4byte	.LVL69
 2306 0520 58000000 		.4byte	.LFE6
 2307 0524 0100     		.2byte	0x1
 2308 0526 53       		.byte	0x53
 2309 0527 00000000 		.4byte	0
 2310 052b 00000000 		.4byte	0
 2311              		.section	.debug_aranges,"",%progbits
 2312 0000 7C000000 		.4byte	0x7c
 2313 0004 0200     		.2byte	0x2
 2314 0006 00000000 		.4byte	.Ldebug_info0
 2315 000a 04       		.byte	0x4
 2316 000b 00       		.byte	0
 2317 000c 0000     		.2byte	0
 2318 000e 0000     		.2byte	0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 57


 2319 0010 00000000 		.4byte	.LFB0
 2320 0014 CC000000 		.4byte	.LFE0-.LFB0
 2321 0018 00000000 		.4byte	.LFB1
 2322 001c D0000000 		.4byte	.LFE1-.LFB1
 2323 0020 00000000 		.4byte	.LFB2
 2324 0024 80000000 		.4byte	.LFE2-.LFB2
 2325 0028 00000000 		.4byte	.LFB3
 2326 002c 6C000000 		.4byte	.LFE3-.LFB3
 2327 0030 00000000 		.4byte	.LFB4
 2328 0034 38000000 		.4byte	.LFE4-.LFB4
 2329 0038 00000000 		.4byte	.LFB5
 2330 003c 58000000 		.4byte	.LFE5-.LFB5
 2331 0040 00000000 		.4byte	.LFB6
 2332 0044 58000000 		.4byte	.LFE6-.LFB6
 2333 0048 00000000 		.4byte	.LFB7
 2334 004c 38000000 		.4byte	.LFE7-.LFB7
 2335 0050 00000000 		.4byte	.LFB8
 2336 0054 24000000 		.4byte	.LFE8-.LFB8
 2337 0058 00000000 		.4byte	.LFB9
 2338 005c 0C000000 		.4byte	.LFE9-.LFB9
 2339 0060 00000000 		.4byte	.LFB10
 2340 0064 0C000000 		.4byte	.LFE10-.LFB10
 2341 0068 00000000 		.4byte	.LFB11
 2342 006c 30000000 		.4byte	.LFE11-.LFB11
 2343 0070 00000000 		.4byte	.LFB12
 2344 0074 30000000 		.4byte	.LFE12-.LFB12
 2345 0078 00000000 		.4byte	0
 2346 007c 00000000 		.4byte	0
 2347              		.section	.debug_ranges,"",%progbits
 2348              	.Ldebug_ranges0:
 2349 0000 00000000 		.4byte	.LFB0
 2350 0004 CC000000 		.4byte	.LFE0
 2351 0008 00000000 		.4byte	.LFB1
 2352 000c D0000000 		.4byte	.LFE1
 2353 0010 00000000 		.4byte	.LFB2
 2354 0014 80000000 		.4byte	.LFE2
 2355 0018 00000000 		.4byte	.LFB3
 2356 001c 6C000000 		.4byte	.LFE3
 2357 0020 00000000 		.4byte	.LFB4
 2358 0024 38000000 		.4byte	.LFE4
 2359 0028 00000000 		.4byte	.LFB5
 2360 002c 58000000 		.4byte	.LFE5
 2361 0030 00000000 		.4byte	.LFB6
 2362 0034 58000000 		.4byte	.LFE6
 2363 0038 00000000 		.4byte	.LFB7
 2364 003c 38000000 		.4byte	.LFE7
 2365 0040 00000000 		.4byte	.LFB8
 2366 0044 24000000 		.4byte	.LFE8
 2367 0048 00000000 		.4byte	.LFB9
 2368 004c 0C000000 		.4byte	.LFE9
 2369 0050 00000000 		.4byte	.LFB10
 2370 0054 0C000000 		.4byte	.LFE10
 2371 0058 00000000 		.4byte	.LFB11
 2372 005c 30000000 		.4byte	.LFE11
 2373 0060 00000000 		.4byte	.LFB12
 2374 0064 30000000 		.4byte	.LFE12
 2375 0068 00000000 		.4byte	0
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 58


 2376 006c 00000000 		.4byte	0
 2377              		.section	.debug_line,"",%progbits
 2378              	.Ldebug_line0:
 2379 0000 FD010000 		.section	.debug_str,"MS",%progbits,1
 2379      02005800 
 2379      00000201 
 2379      FB0E0D00 
 2379      01010101 
 2380              	.LASF15:
 2381 0000 72656733 		.ascii	"reg32\000"
 2381      3200
 2382              	.LASF34:
 2383 0006 73746174 		.ascii	"status\000"
 2383      757300
 2384              	.LASF45:
 2385 000d 4932435F 		.ascii	"I2C_1_mstrRdBufIndex\000"
 2385      315F6D73 
 2385      74725264 
 2385      42756649 
 2385      6E646578 
 2386              	.LASF46:
 2387 0022 4932435F 		.ascii	"I2C_1_mstrWrBufPtr\000"
 2387      315F6D73 
 2387      74725772 
 2387      42756650 
 2387      747200
 2388              	.LASF25:
 2389 0035 4932435F 		.ascii	"I2C_1_MasterSendStart\000"
 2389      315F4D61 
 2389      73746572 
 2389      53656E64 
 2389      53746172 
 2390              	.LASF3:
 2391 004b 73686F72 		.ascii	"short unsigned int\000"
 2391      7420756E 
 2391      7369676E 
 2391      65642069 
 2391      6E7400
 2392              	.LASF8:
 2393 005e 756E7369 		.ascii	"unsigned int\000"
 2393      676E6564 
 2393      20696E74 
 2393      00
 2394              	.LASF50:
 2395 006b 47656E65 		.ascii	"Generated_Source\\PSoC5\\I2C_1_MASTER.c\000"
 2395      72617465 
 2395      645F536F 
 2395      75726365 
 2395      5C50536F 
 2396              	.LASF47:
 2397 0091 4932435F 		.ascii	"I2C_1_mstrWrBufSize\000"
 2397      315F6D73 
 2397      74725772 
 2397      42756653 
 2397      697A6500 
 2398              	.LASF41:
 2399 00a5 4932435F 		.ascii	"I2C_1_mstrStatus\000"
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 59


 2399      315F6D73 
 2399      74725374 
 2399      61747573 
 2399      00
 2400              	.LASF37:
 2401 00b6 4932435F 		.ascii	"I2C_1_MasterGetWriteBufSize\000"
 2401      315F4D61 
 2401      73746572 
 2401      47657457 
 2401      72697465 
 2402              	.LASF21:
 2403 00d2 4932435F 		.ascii	"I2C_1_MasterWriteBuf\000"
 2403      315F4D61 
 2403      73746572 
 2403      57726974 
 2403      65427566 
 2404              	.LASF11:
 2405 00e7 666C6F61 		.ascii	"float\000"
 2405      7400
 2406              	.LASF1:
 2407 00ed 756E7369 		.ascii	"unsigned char\000"
 2407      676E6564 
 2407      20636861 
 2407      7200
 2408              	.LASF49:
 2409 00fb 474E5520 		.ascii	"GNU C11 5.4.1 20160609 (release) [ARM/embedded-5-br"
 2409      43313120 
 2409      352E342E 
 2409      31203230 
 2409      31363036 
 2410 012e 616E6368 		.ascii	"anch revision 237715] -mcpu=cortex-m3 -mthumb -g -O"
 2410      20726576 
 2410      6973696F 
 2410      6E203233 
 2410      37373135 
 2411 0161 67202D66 		.ascii	"g -ffunction-sections -ffat-lto-objects\000"
 2411      66756E63 
 2411      74696F6E 
 2411      2D736563 
 2411      74696F6E 
 2412              	.LASF14:
 2413 0189 72656738 		.ascii	"reg8\000"
 2413      00
 2414              	.LASF51:
 2415 018e 433A5C53 		.ascii	"C:\\Software\\PSoC Cypress\\VCNL4030X01\\VCNL4030X0"
 2415      6F667477 
 2415      6172655C 
 2415      50536F43 
 2415      20437970 
 2416 01bd 312E6379 		.ascii	"1.cydsn\000"
 2416      64736E00 
 2417              	.LASF5:
 2418 01c5 6C6F6E67 		.ascii	"long unsigned int\000"
 2418      20756E73 
 2418      69676E65 
 2418      6420696E 
 2418      7400
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 60


 2419              	.LASF9:
 2420 01d7 75696E74 		.ascii	"uint8\000"
 2420      3800
 2421              	.LASF24:
 2422 01dd 65727253 		.ascii	"errStatus\000"
 2422      74617475 
 2422      7300
 2423              	.LASF12:
 2424 01e7 646F7562 		.ascii	"double\000"
 2424      6C6500
 2425              	.LASF27:
 2426 01ee 4932435F 		.ascii	"I2C_1_MasterSendRestart\000"
 2426      315F4D61 
 2426      73746572 
 2426      53656E64 
 2426      52657374 
 2427              	.LASF22:
 2428 0206 4932435F 		.ascii	"I2C_1_MasterReadBuf\000"
 2428      315F4D61 
 2428      73746572 
 2428      52656164 
 2428      42756600 
 2429              	.LASF26:
 2430 021a 525F6E57 		.ascii	"R_nW\000"
 2430      00
 2431              	.LASF23:
 2432 021f 72644461 		.ascii	"rdData\000"
 2432      746100
 2433              	.LASF10:
 2434 0226 75696E74 		.ascii	"uint32\000"
 2434      333200
 2435              	.LASF40:
 2436 022d 4932435F 		.ascii	"I2C_1_state\000"
 2436      315F7374 
 2436      61746500 
 2437              	.LASF32:
 2438 0239 61636B6E 		.ascii	"acknNak\000"
 2438      4E616B00 
 2439              	.LASF19:
 2440 0241 77724461 		.ascii	"wrData\000"
 2440      746100
 2441              	.LASF7:
 2442 0248 6C6F6E67 		.ascii	"long long unsigned int\000"
 2442      206C6F6E 
 2442      6720756E 
 2442      7369676E 
 2442      65642069 
 2443              	.LASF20:
 2444 025f 6D6F6465 		.ascii	"mode\000"
 2444      00
 2445              	.LASF18:
 2446 0264 736C6176 		.ascii	"slaveAddress\000"
 2446      65416464 
 2446      72657373 
 2446      00
 2447              	.LASF17:
 2448 0271 73697A65 		.ascii	"sizetype\000"
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 61


 2448      74797065 
 2448      00
 2449              	.LASF6:
 2450 027a 6C6F6E67 		.ascii	"long long int\000"
 2450      206C6F6E 
 2450      6720696E 
 2450      7400
 2451              	.LASF31:
 2452 0288 4932435F 		.ascii	"I2C_1_MasterReadByte\000"
 2452      315F4D61 
 2452      73746572 
 2452      52656164 
 2452      42797465 
 2453              	.LASF38:
 2454 029d 4932435F 		.ascii	"I2C_1_MasterClearReadBuf\000"
 2454      315F4D61 
 2454      73746572 
 2454      436C6561 
 2454      72526561 
 2455              	.LASF29:
 2456 02b6 4932435F 		.ascii	"I2C_1_MasterWriteByte\000"
 2456      315F4D61 
 2456      73746572 
 2456      57726974 
 2456      65427974 
 2457              	.LASF39:
 2458 02cc 4932435F 		.ascii	"I2C_1_MasterClearWriteBuf\000"
 2458      315F4D61 
 2458      73746572 
 2458      436C6561 
 2458      72577269 
 2459              	.LASF43:
 2460 02e6 4932435F 		.ascii	"I2C_1_mstrRdBufPtr\000"
 2460      315F6D73 
 2460      74725264 
 2460      42756650 
 2460      747200
 2461              	.LASF2:
 2462 02f9 73686F72 		.ascii	"short int\000"
 2462      7420696E 
 2462      7400
 2463              	.LASF30:
 2464 0303 74686542 		.ascii	"theByte\000"
 2464      79746500 
 2465              	.LASF35:
 2466 030b 4932435F 		.ascii	"I2C_1_MasterClearStatus\000"
 2466      315F4D61 
 2466      73746572 
 2466      436C6561 
 2466      72537461 
 2467              	.LASF48:
 2468 0323 4932435F 		.ascii	"I2C_1_mstrWrBufIndex\000"
 2468      315F6D73 
 2468      74725772 
 2468      42756649 
 2468      6E646578 
 2469              	.LASF28:
ARM GAS  C:\Users\HWANYU~1\AppData\Local\Temp\ccqCOUau.s 			page 62


 2470 0338 4932435F 		.ascii	"I2C_1_MasterSendStop\000"
 2470      315F4D61 
 2470      73746572 
 2470      53656E64 
 2470      53746F70 
 2471              	.LASF4:
 2472 034d 6C6F6E67 		.ascii	"long int\000"
 2472      20696E74 
 2472      00
 2473              	.LASF13:
 2474 0356 63686172 		.ascii	"char\000"
 2474      00
 2475              	.LASF16:
 2476 035b 6C6F6E67 		.ascii	"long double\000"
 2476      20646F75 
 2476      626C6500 
 2477              	.LASF0:
 2478 0367 7369676E 		.ascii	"signed char\000"
 2478      65642063 
 2478      68617200 
 2479              	.LASF44:
 2480 0373 4932435F 		.ascii	"I2C_1_mstrRdBufSize\000"
 2480      315F6D73 
 2480      74725264 
 2480      42756653 
 2480      697A6500 
 2481              	.LASF33:
 2482 0387 4932435F 		.ascii	"I2C_1_MasterStatus\000"
 2482      315F4D61 
 2482      73746572 
 2482      53746174 
 2482      757300
 2483              	.LASF36:
 2484 039a 4932435F 		.ascii	"I2C_1_MasterGetReadBufSize\000"
 2484      315F4D61 
 2484      73746572 
 2484      47657452 
 2484      65616442 
 2485              	.LASF42:
 2486 03b5 4932435F 		.ascii	"I2C_1_mstrControl\000"
 2486      315F6D73 
 2486      7472436F 
 2486      6E74726F 
 2486      6C00
 2487              		.ident	"GCC: (GNU Tools for ARM Embedded Processors) 5.4.1 20160609 (release) [ARM/embedded-5-bran
