; generated by Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o..\..\..\..\build\demo\mico-fire_f429\obj_rvmdk\bmg160_user.o --asm_dir=..\..\..\..\Build\demo\MICO-Fire_F429\list_RVMDK\ --list_dir=..\..\..\..\Build\demo\MICO-Fire_F429\list_RVMDK\ --depend=..\..\..\..\build\demo\mico-fire_f429\obj_rvmdk\bmg160_user.d --cpu=Cortex-M4.fp --apcs=interwork -O0 --diag_suppress=9931,1,1293 -I..\..\..\..\Board\fire_F429 -I..\..\..\..\Demos\fire\ov2640 -I..\..\..\..\include -I..\..\..\..\libraries\utilities -I..\..\..\..\libraries\utilities\json_c -I..\..\..\..\MICO\core -I..\..\..\..\MICO\security -I..\..\..\..\MICO\system -I..\..\..\..\MICO\system\command_console -I..\..\..\..\Platform\include -I..\..\..\..\Platform\Cortex-M4 -I..\..\..\..\Platform\Cortex-M4\CMSIS -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals\Libraries\STM32F4xx_StdPeriph_Driver\inc -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals\Libraries -I..\..\..\..\Platform\MCU\STM32F4xx\wlan_bus_driver -I..\..\..\..\Platform\Drivers\spi_flash -I..\..\..\..\Platform\Drivers -I..\..\..\..\libraries\daemons\homekit_server -I..\..\..\..\libraries\daemons\http_server -I..\..\..\..\Platform\Drivers\malloc -I..\..\..\..\Platform\Drivers\SDRAM -I..\..\..\..\Platform\Drivers\ov5640 -IG:\GIT_OSC\STM32_develop\F429-V2\develop\6-WIFI\STM32-WiFi\3.wifi_ov5640\Projects\STM32F429\demo\RVMDK\RTE -IC:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -IC:\Keil_v5\ARM\CMSIS\Include -IC:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0 -D__UVISION_VERSION=515 -DSTM32F429xx -DUSE_STDPERIPH_DRIVER -DDEBUG -DHSE_VALUE=25000000 -DOV5640 --omf_browse=..\..\..\..\build\demo\mico-fire_f429\obj_rvmdk\bmg160_user.crf ..\..\..\..\Platform\Drivers\sensor\BMG160\bmg160_user.c]
                          THUMB

                          AREA ||i.BMG160_I2C_bus_read||, CODE, READONLY, ALIGN=2

                  BMG160_I2C_bus_read PROC
;;;326     */
;;;327    s8 BMG160_I2C_bus_read(u8 dev_addr, u8 reg_addr, u8 *reg_data, u8 cnt)
000000  e92d41f0          PUSH     {r4-r8,lr}
;;;328    {
000004  b088              SUB      sp,sp,#0x20
000006  4680              MOV      r8,r0
000008  460d              MOV      r5,r1
00000a  4617              MOV      r7,r2
00000c  461e              MOV      r6,r3
;;;329            mico_i2c_message_t bmg160_i2c_msg = {NULL, NULL, 0, 0, 0, false};
00000e  2000              MOVS     r0,#0
000010  9004              STR      r0,[sp,#0x10]
000012  9005              STR      r0,[sp,#0x14]
000014  9006              STR      r0,[sp,#0x18]
000016  9007              STR      r0,[sp,#0x1c]
;;;330    	s32 iError = BMG160_INIT_VALUE;
000018  2400              MOVS     r4,#0
;;;331    	u8 array[I2C_BUFFER_LEN] = {BMG160_INIT_VALUE};
00001a  9002              STR      r0,[sp,#8]
00001c  9003              STR      r0,[sp,#0xc]
;;;332    //	u8 stringpos = BMG160_INIT_VALUE;
;;;333    	array[BMG160_INIT_VALUE] = reg_addr;
00001e  f88d5008          STRB     r5,[sp,#8]
;;;334    	/* Please take the below function as your reference
;;;335    	 * for read the data using I2C communication
;;;336    	 * add your I2C rad function here.
;;;337    	 * "IERROR = I2C_WRITE_READ_STRING(DEV_ADDR, ARRAY, ARRAY, 1, CNT)"
;;;338    	 * iError is an return value of SPI write function
;;;339    	 * Please select your valid return value
;;;340    	 * In the driver SUCCESS defined as BMG160_INIT_VALUE
;;;341         * and FAILURE defined as -1
;;;342    	 */
;;;343            
;;;344            iError = MicoI2cBuildCombinedMessage(&bmg160_i2c_msg, array, reg_data, 1, cnt, 3);
000022  2003              MOVS     r0,#3
000024  2301              MOVS     r3,#1
000026  463a              MOV      r2,r7
000028  a902              ADD      r1,sp,#8
00002a  e9cd6000          STRD     r6,r0,[sp,#0]
00002e  a804              ADD      r0,sp,#0x10
000030  f7fffffe          BL       MicoI2cBuildCombinedMessage
000034  4604              MOV      r4,r0
;;;345             if(0 != iError){
000036  b11c              CBZ      r4,|L1.64|
;;;346              return (s8)iError; 
000038  b260              SXTB     r0,r4
                  |L1.58|
;;;347            }
;;;348            iError = MicoI2cTransfer(&bmg160_i2c_device, &bmg160_i2c_msg, 1);
;;;349            if(0 != iError){
;;;350              return (s8)iError;
;;;351            }
;;;352            
;;;353    //	for (stringpos = BMG160_INIT_VALUE; stringpos < cnt; stringpos++) {
;;;354    //		*(reg_data + stringpos) = array[stringpos];
;;;355    //	}
;;;356    	return (s8)iError;
;;;357    }
00003a  b008              ADD      sp,sp,#0x20
00003c  e8bd81f0          POP      {r4-r8,pc}
                  |L1.64|
000040  2201              MOVS     r2,#1                 ;348
000042  a904              ADD      r1,sp,#0x10           ;348
000044  4804              LDR      r0,|L1.88|
000046  f7fffffe          BL       MicoI2cTransfer
00004a  4604              MOV      r4,r0                 ;348
00004c  b10c              CBZ      r4,|L1.82|
00004e  b260              SXTB     r0,r4                 ;350
000050  e7f3              B        |L1.58|
                  |L1.82|
000052  b260              SXTB     r0,r4                 ;356
000054  e7f1              B        |L1.58|
;;;358    
                          ENDP

000056  0000              DCW      0x0000
                  |L1.88|
                          DCD      bmg160_i2c_device

                          AREA ||i.BMG160_I2C_bus_write||, CODE, READONLY, ALIGN=2

                  BMG160_I2C_bus_write PROC
;;;286     */
;;;287    s8 BMG160_I2C_bus_write(u8 dev_addr, u8 reg_addr, u8 *reg_data, u8 cnt)
000000  e92d43f0          PUSH     {r4-r9,lr}
;;;288    {
000004  b087              SUB      sp,sp,#0x1c
000006  4681              MOV      r9,r0
000008  460e              MOV      r6,r1
00000a  4617              MOV      r7,r2
00000c  461d              MOV      r5,r3
;;;289            mico_i2c_message_t bmg160_i2c_msg = {NULL, NULL, 0, 0, 0, false};
00000e  2000              MOVS     r0,#0
000010  9003              STR      r0,[sp,#0xc]
000012  9004              STR      r0,[sp,#0x10]
000014  9005              STR      r0,[sp,#0x14]
000016  9006              STR      r0,[sp,#0x18]
;;;290    	s32 iError = BMG160_INIT_VALUE;
000018  4680              MOV      r8,r0
;;;291    	u8 array[I2C_BUFFER_LEN];
;;;292    	u8 stringpos = BMG160_INIT_VALUE;
00001a  2400              MOVS     r4,#0
;;;293    	array[BMG160_INIT_VALUE] = reg_addr;
00001c  f88d6004          STRB     r6,[sp,#4]
;;;294    	for (stringpos = BMG160_INIT_VALUE; stringpos < cnt; stringpos++) {
000020  bf00              NOP      
000022  e004              B        |L2.46|
                  |L2.36|
;;;295    		array[stringpos + BMG160_GEN_READ_WRITE_DATA_LENGTH] = *(reg_data + stringpos);
000024  5d39              LDRB     r1,[r7,r4]
000026  aa01              ADD      r2,sp,#4
000028  1c60              ADDS     r0,r4,#1
00002a  5411              STRB     r1,[r2,r0]
00002c  b2c4              UXTB     r4,r0                 ;294
                  |L2.46|
00002e  42ac              CMP      r4,r5                 ;294
000030  dbf8              BLT      |L2.36|
;;;296    	}
;;;297    	/*
;;;298    	* Please take the below function as your reference for
;;;299    	* write the data using I2C communication
;;;300    	* "IERROR = I2C_WRITE_STRING(DEV_ADDR, ARRAY, CNT+1)"
;;;301    	* add your I2C write function here
;;;302    	* iError is an return value of I2C read function
;;;303    	* Please select your valid return value
;;;304    	* In the driver SUCCESS defined as BMG160_INIT_VALUE
;;;305        * and FAILURE defined as -1
;;;306    	* Note :
;;;307    	* This is a full duplex operation,
;;;308    	* The first read data is discarded, for that extra write operation
;;;309    	* have to be initiated. For that cnt+1 operation done in the I2C write string function
;;;310    	* For more information please refer data sheet SPI communication:
;;;311    	*/
;;;312            iError = MicoI2cBuildTxMessage(&bmg160_i2c_msg, array, cnt + 1, 3);
000032  2303              MOVS     r3,#3
000034  1c6a              ADDS     r2,r5,#1
000036  a901              ADD      r1,sp,#4
000038  a803              ADD      r0,sp,#0xc
00003a  f7fffffe          BL       MicoI2cBuildTxMessage
00003e  4680              MOV      r8,r0
;;;313            iError = MicoI2cTransfer(&bmg160_i2c_device, &bmg160_i2c_msg, 1);
000040  2201              MOVS     r2,#1
000042  a903              ADD      r1,sp,#0xc
000044  4806              LDR      r0,|L2.96|
000046  f7fffffe          BL       MicoI2cTransfer
00004a  4680              MOV      r8,r0
;;;314            if(0 != iError){
00004c  f1b80f00          CMP      r8,#0
000050  d001              BEQ      |L2.86|
;;;315              iError = -1;
000052  f04f38ff          MOV      r8,#0xffffffff
                  |L2.86|
;;;316            }
;;;317    	return (s8)iError;
000056  fa4ff088          SXTB     r0,r8
;;;318    }
00005a  b007              ADD      sp,sp,#0x1c
00005c  e8bd83f0          POP      {r4-r9,pc}
;;;319    
                          ENDP

                  |L2.96|
                          DCD      bmg160_i2c_device

                          AREA ||i.BMG160_I2C_routine||, CODE, READONLY, ALIGN=2

                  BMG160_I2C_routine PROC
;;;236     *--------------------------------------------------------------------------*/
;;;237     s8 BMG160_I2C_routine(void) {
000000  4805              LDR      r0,|L3.24|
;;;238    
;;;239    	bmg160.bus_write = BMG160_I2C_bus_write;
000002  4906              LDR      r1,|L3.28|
000004  6088              STR      r0,[r1,#8]  ; bmg160
;;;240    	bmg160.bus_read = BMG160_I2C_bus_read;
000006  4806              LDR      r0,|L3.32|
000008  60c8              STR      r0,[r1,#0xc]  ; bmg160
;;;241    	bmg160.delay_msec = BMG160_delay_msek;
00000a  4806              LDR      r0,|L3.36|
00000c  6108              STR      r0,[r1,#0x10]  ; bmg160
;;;242    	bmg160.dev_addr = BMG160_I2C_ADDR1;
00000e  2068              MOVS     r0,#0x68
000010  7048              STRB     r0,[r1,#1]
;;;243    
;;;244    	return BMG160_INIT_VALUE;
000012  2000              MOVS     r0,#0
;;;245    }
000014  4770              BX       lr
;;;246    
                          ENDP

000016  0000              DCW      0x0000
                  |L3.24|
                          DCD      BMG160_I2C_bus_write
                  |L3.28|
                          DCD      bmg160
                  |L3.32|
                          DCD      BMG160_I2C_bus_read
                  |L3.36|
                          DCD      BMG160_delay_msek

                          AREA ||i.BMG160_delay_msek||, CODE, READONLY, ALIGN=1

                  BMG160_delay_msek PROC
;;;431    */
;;;432    void BMG160_delay_msek(u32 msek)
000000  b510              PUSH     {r4,lr}
;;;433    {
000002  4604              MOV      r4,r0
;;;434    	/*Here you can write your own delay routine*/
;;;435      mico_thread_msleep(msek);
000004  4620              MOV      r0,r4
000006  f7fffffe          BL       msleep
;;;436    }
00000a  bd10              POP      {r4,pc}
;;;437    #endif
                          ENDP


                          AREA ||i.bmg160_data_readout||, CODE, READONLY, ALIGN=2

                  bmg160_data_readout PROC
;;;496    
;;;497    OSStatus bmg160_data_readout(s16 *v_gyro_datax_s16, s16 *v_gyro_datay_s16, s16 *v_gyro_dataz_s16)
000000  e92d41f0          PUSH     {r4-r8,lr}
;;;498    {
000004  4607              MOV      r7,r0
000006  460d              MOV      r5,r1
000008  4616              MOV      r6,r2
;;;499      OSStatus err = kUnknownErr;
00000a  f8df8030          LDR      r8,|L5.60|
;;;500      
;;;501      /* result of communication results*/
;;;502      s32 com_rslt = BMG160_ERROR;
00000e  f04f34ff          MOV      r4,#0xffffffff
;;;503      
;;;504      //-------------------------- NOTE ----------------------------------
;;;505      // this is to avoid i2c pin is re-init by other module because they use the same pin.
;;;506      MicoI2cInitialize(&bmg160_i2c_device);
000012  480b              LDR      r0,|L5.64|
000014  f7fffffe          BL       MicoI2cInitialize
;;;507      //------------------------------------------------------------------
;;;508        
;;;509      /************ START READ TRUE PRESSURE, TEMPERATURE AND HUMIDITY DATA *********/
;;;510    
;;;511      com_rslt = bmg160_get_data_X(v_gyro_datax_s16);/* Read the gyro X data*/
000018  4638              MOV      r0,r7
00001a  f7fffffe          BL       bmg160_get_data_X
00001e  4604              MOV      r4,r0
;;;512    
;;;513      com_rslt += bmg160_get_data_Y(v_gyro_datay_s16);/* Read the gyro Y data*/
000020  4628              MOV      r0,r5
000022  f7fffffe          BL       bmg160_get_data_Y
000026  4404              ADD      r4,r4,r0
;;;514    
;;;515      com_rslt += bmg160_get_data_Z(v_gyro_dataz_s16);/* Read the gyro Z data*/
000028  4630              MOV      r0,r6
00002a  f7fffffe          BL       bmg160_get_data_Z
00002e  4404              ADD      r4,r4,r0
;;;516      
;;;517      /************ END READ TRUE PRESSURE, TEMPERATURE AND HUMIDITY ********/
;;;518      
;;;519      if(0 == com_rslt){
000030  b90c              CBNZ     r4,|L5.54|
;;;520        err = kNoErr;
000032  f04f0800          MOV      r8,#0
                  |L5.54|
;;;521      }
;;;522      return err;
000036  4640              MOV      r0,r8
;;;523    }
000038  e8bd81f0          POP      {r4-r8,pc}
;;;524    
                          ENDP

                  |L5.60|
                          DCD      0xffffe5d4
                  |L5.64|
                          DCD      bmg160_i2c_device

                          AREA ||i.bmg160_data_readout_template||, CODE, READONLY, ALIGN=2

                  bmg160_data_readout_template PROC
;;;116     */
;;;117    s32 bmg160_data_readout_template(void)
000000  b530              PUSH     {r4,r5,lr}
;;;118    {
000002  b08b              SUB      sp,sp,#0x2c
;;;119    	/* Gyro */
;;;120    	/* variable used for read the sensor data*/
;;;121    	s16	v_gyro_datax_s16, v_gyro_datay_s16, v_gyro_dataz_s16 = BMG160_INIT_VALUE;
000004  2000              MOVS     r0,#0
000006  9008              STR      r0,[sp,#0x20]
;;;122    	/* structure used for read the sensor data - xyz*/
;;;123    	struct bmg160_data_t data_gyro;
;;;124    	/* structure used for read the sensor data - xyz and interrupt status*/
;;;125    	struct bmg160_data_t gyro_xyzi_data;
;;;126    	/* variable used for read the gyro bandwidth data*/
;;;127    	u8	v_gyro_value_u8 = BMG160_INIT_VALUE;
000008  9001              STR      r0,[sp,#4]
;;;128    	/* variable used for set the gyro bandwidth data*/
;;;129    	u8 v_bw_u8 = BMG160_INIT_VALUE;
00000a  2500              MOVS     r5,#0
;;;130    	/* result of communication results*/
;;;131    	s32 com_rslt = 0;
00000c  2400              MOVS     r4,#0
;;;132    
;;;133    /*-------------------------------------------------------------------------*
;;;134     *********************** START INITIALIZATION ***********************
;;;135     *-------------------------------------------------------------------------*/
;;;136     /*	Based on the user need configure I2C or SPI interface.
;;;137      *	It is example code to explain how to use the bmg160 API*/
;;;138      #ifdef BMG160_API
;;;139      	BMG160_I2C_routine();
00000e  f7fffffe          BL       BMG160_I2C_routine
;;;140    	/*BMG160_SPI_routine(); */
;;;141    	#endif
;;;142    /*--------------------------------------------------------------------------*
;;;143     *  This function used to assign the value/reference of
;;;144     *	the following parameters
;;;145     *	Gyro I2C address
;;;146     *	Bus Write
;;;147     *	Bus read
;;;148     *	Gyro Chip id
;;;149     *----------------------------------------------------------------------------*/
;;;150    	com_rslt = bmg160_init(&bmg160);
000012  4816              LDR      r0,|L6.108|
000014  f7fffffe          BL       bmg160_init
000018  4604              MOV      r4,r0
;;;151    /*----------------------------------------------------------------------------*/
;;;152    /*	For initialization it is required to set the mode of the sensor as "NORMAL"
;;;153     *	data acquisition/read/write is possible in this mode
;;;154     *	by using the below API able to set the power mode as NORMAL
;;;155     *	NORMAL mode set from the register 0x11 and 0x12
;;;156     *	While sensor in the NORMAL mode idle time of at least 2us(micro seconds)
;;;157     *	is required to write/read operations
;;;158     *	0x11 -> bit 5,7 -> set value as BMG160_INIT_VALUE
;;;159     *	0x12 -> bit 6,7 -> set value as BMG160_INIT_VALUE
;;;160     *	Note:
;;;161     *		If the sensor is in the fast power up mode idle time of least
;;;162     *		450us(micro seconds) required for write/read operations
;;;163     */
;;;164    
;;;165    /*-------------------------------------------------------------------------*/
;;;166    	/* Set the gyro power mode as NORMAL*/
;;;167    	com_rslt += bmg160_set_power_mode(BMG160_MODE_NORMAL);
00001a  2000              MOVS     r0,#0
00001c  f7fffffe          BL       bmg160_set_power_mode
000020  4404              ADD      r4,r4,r0
;;;168    /*--------------------------------------------------------------------------*
;;;169    ************************* END INITIALIZATION ******************************
;;;170    *--------------------------------------------------------------------------*/
;;;171    /*------------------------------------------------------------------------*
;;;172    ************************* START GET and SET FUNCTIONS DATA ***************
;;;173    *--------------------------------------------------------------------------*/
;;;174    /* This API used to Write the bandwidth of the gyro sensor
;;;175    	input value have to be give 0x10 bit BMG160_INIT_VALUE to 3
;;;176    	The bandwidth set from the register */
;;;177    	v_bw_u8 = C_BMG160_BW_230HZ_U8X;/* set gyro bandwidth of 230Hz*/
000022  2501              MOVS     r5,#1
;;;178    	com_rslt += bmg160_set_bw(v_bw_u8);
000024  4628              MOV      r0,r5
000026  f7fffffe          BL       bmg160_set_bw
00002a  4404              ADD      r4,r4,r0
;;;179    
;;;180    /* This API used to read back the written value of bandwidth for gyro*/
;;;181    	com_rslt += bmg160_get_bw(&v_gyro_value_u8);
00002c  a801              ADD      r0,sp,#4
00002e  f7fffffe          BL       bmg160_get_bw
000032  4404              ADD      r4,r4,r0
;;;182    /*---------------------------------------------------------------------*
;;;183    ************************* END GET and SET FUNCTIONS ********************
;;;184    *----------------------------------------------------------------------*/
;;;185    /*---------------------------------------------------------------------*
;;;186    ************************* START READ SENSOR DATA(X,Y and Z axis) *********
;;;187    *-------------------------------------------------------------------------*/
;;;188    /******************* Read Gyro data xyz**********************/
;;;189    	com_rslt += bmg160_get_data_X(&v_gyro_datax_s16);/* Read the gyro X data*/
000034  a80a              ADD      r0,sp,#0x28
000036  f7fffffe          BL       bmg160_get_data_X
00003a  4404              ADD      r4,r4,r0
;;;190    
;;;191    	com_rslt += bmg160_get_data_Y(&v_gyro_datay_s16);/* Read the gyro Y data*/
00003c  a809              ADD      r0,sp,#0x24
00003e  f7fffffe          BL       bmg160_get_data_Y
000042  4404              ADD      r4,r4,r0
;;;192    
;;;193    	com_rslt += bmg160_get_data_Z(&v_gyro_dataz_s16);/* Read the gyro Z data*/
000044  a808              ADD      r0,sp,#0x20
000046  f7fffffe          BL       bmg160_get_data_Z
00004a  4404              ADD      r4,r4,r0
;;;194    
;;;195    /* accessing the  bmg160_data_t parameter by using data_gyro*/
;;;196    	com_rslt += bmg160_get_data_XYZ(&data_gyro);/* Read the gyro XYZ data*/
00004c  a805              ADD      r0,sp,#0x14
00004e  f7fffffe          BL       bmg160_get_data_XYZ
000052  4404              ADD      r4,r4,r0
;;;197    
;;;198    /* accessing the bmg160_data_t parameter by using gyro_xyzi_data*/
;;;199    /* Read the gyro XYZ data and interrupt status*/
;;;200    	com_rslt += bmg160_get_data_XYZI(&gyro_xyzi_data);
000054  a802              ADD      r0,sp,#8
000056  f7fffffe          BL       bmg160_get_data_XYZI
00005a  4404              ADD      r4,r4,r0
;;;201    /*--------------------------------------------------------------------------
;;;202    ************************* END READ SENSOR DATA(X,Y and Z axis) *************
;;;203    *----------------------------------------------------------------------------*/
;;;204    /*---------------------------------------------------------------------------*
;;;205    *********************** START DE-INITIALIZATION *****************************
;;;206    *--------------------------------------------------------------------------*/
;;;207    /*	For de-initialization it is required to set the mode of
;;;208     *	the sensor as "DEEPSUSPEND"
;;;209     *	the device reaches the lowest power consumption only
;;;210     *	interface selection is kept alive
;;;211     *	No data acquisition is performed
;;;212     *	The DEEPSUSPEND mode set from the register 0x11 bit 5
;;;213     *	by using the below API able to set the power mode as DEEPSUSPEND
;;;214     *	For the read/ write operation it is required to provide least 450us
;;;215     *	micro second delay*/
;;;216    
;;;217    	com_rslt += bmg160_set_power_mode(BMG160_MODE_DEEPSUSPEND);
00005c  2001              MOVS     r0,#1
00005e  f7fffffe          BL       bmg160_set_power_mode
000062  4404              ADD      r4,r4,r0
;;;218    
;;;219    /*--------------------------------------------------------------------------*
;;;220    *********************** END DE-INITIALIZATION **************************
;;;221    *---------------------------------------------------------------------------*/
;;;222    return com_rslt;
000064  4620              MOV      r0,r4
;;;223    }
000066  b00b              ADD      sp,sp,#0x2c
000068  bd30              POP      {r4,r5,pc}
;;;224    
                          ENDP

00006a  0000              DCW      0x0000
                  |L6.108|
                          DCD      bmg160

                          AREA ||i.bmg160_sensor_deinit||, CODE, READONLY, ALIGN=2

                          REQUIRE _printf_pre_padding
                          REQUIRE _printf_percent
                          REQUIRE _printf_widthprec
                          REQUIRE _printf_d
                          REQUIRE _printf_s
                          REQUIRE _printf_int_dec
                          REQUIRE _printf_str
                          REQUIRE _printf_str
                  bmg160_sensor_deinit PROC
;;;524    
;;;525    OSStatus bmg160_sensor_deinit(void)
000000  e92d41fc          PUSH     {r2-r8,lr}
;;;526    {
;;;527      OSStatus err = kUnknownErr;
000004  4c32              LDR      r4,|L7.208|
;;;528      s32 com_rslt = BMG160_ERROR;
000006  1365              ASRS     r5,r4,#13
;;;529      
;;;530      err = MicoI2cFinalize(&bmg160_i2c_device);
000008  4832              LDR      r0,|L7.212|
00000a  f7fffffe          BL       MicoI2cFinalize
00000e  4604              MOV      r4,r0
;;;531      require_noerr_action( err, exit, bmg160_user_log("BMG160_ERROR: MicoI2cFinalize err = %d.", err));
000010  bf00              NOP      
000012  4626              MOV      r6,r4
000014  2e00              CMP      r6,#0
000016  d04f              BEQ      |L7.184|
000018  bf00              NOP      
00001a  482f              LDR      r0,|L7.216|
00001c  6800              LDR      r0,[r0,#0]  ; mico_debug_enabled
00001e  b900              CBNZ     r0,|L7.34|
000020  e021              B        |L7.102|
                  |L7.34|
000022  482e              LDR      r0,|L7.220|
000024  f7fffffe          BL       mico_rtos_lock_mutex
000028  215c              MOVS     r1,#0x5c
00002a  a02d              ADR      r0,|L7.224|
00002c  f7fffffe          BL       strrchr
000030  b128              CBZ      r0,|L7.62|
000032  215c              MOVS     r1,#0x5c
000034  a02a              ADR      r0,|L7.224|
000036  f7fffffe          BL       strrchr
00003a  1c40              ADDS     r0,r0,#1
00003c  e000              B        |L7.64|
                  |L7.62|
00003e  a028              ADR      r0,|L7.224|
                  |L7.64|
000040  4607              MOV      r7,r0
000042  f7fffffe          BL       mico_get_time
000046  4680              MOV      r8,r0
000048  a033              ADR      r0,|L7.280|
00004a  f2402113          MOV      r1,#0x213
00004e  4b33              LDR      r3,|L7.284|
000050  463a              MOV      r2,r7
000052  e9cd1000          STRD     r1,r0,[sp,#0]
000056  4641              MOV      r1,r8
000058  a031              ADR      r0,|L7.288|
00005a  f7fffffe          BL       __2printf
00005e  481f              LDR      r0,|L7.220|
000060  f7fffffe          BL       mico_rtos_unlock_mutex
000064  bf00              NOP      
                  |L7.102|
000066  bf00              NOP      
000068  bf00              NOP      
00006a  481b              LDR      r0,|L7.216|
00006c  6800              LDR      r0,[r0,#0]  ; mico_debug_enabled
00006e  b900              CBNZ     r0,|L7.114|
000070  e020              B        |L7.180|
                  |L7.114|
000072  481a              LDR      r0,|L7.220|
000074  f7fffffe          BL       mico_rtos_lock_mutex
000078  215c              MOVS     r1,#0x5c
00007a  a019              ADR      r0,|L7.224|
00007c  f7fffffe          BL       strrchr
000080  b128              CBZ      r0,|L7.142|
000082  215c              MOVS     r1,#0x5c
000084  a016              ADR      r0,|L7.224|
000086  f7fffffe          BL       strrchr
00008a  1c40              ADDS     r0,r0,#1
00008c  e000              B        |L7.144|
                  |L7.142|
00008e  a014              ADR      r0,|L7.224|
                  |L7.144|
000090  4607              MOV      r7,r0
000092  f7fffffe          BL       mico_get_time
000096  4680              MOV      r8,r0
000098  f2402013          MOV      r0,#0x213
00009c  463b              MOV      r3,r7
00009e  a22a              ADR      r2,|L7.328|
0000a0  4641              MOV      r1,r8
0000a2  e9cd0400          STRD     r0,r4,[sp,#0]
0000a6  a02b              ADR      r0,|L7.340|
0000a8  f7fffffe          BL       __2printf
0000ac  480b              LDR      r0,|L7.220|
0000ae  f7fffffe          BL       mico_rtos_unlock_mutex
0000b2  bf00              NOP      
                  |L7.180|
0000b4  bf00              NOP      
0000b6  e007              B        |L7.200|
                  |L7.184|
0000b8  bf00              NOP      
;;;532      
;;;533    /*---------------------------------------------------------------------------*
;;;534    *********************** START DE-INITIALIZATION *****************************
;;;535    *--------------------------------------------------------------------------*/
;;;536    /*	For de-initialization it is required to set the mode of
;;;537     *	the sensor as "DEEPSUSPEND"
;;;538     *	the device reaches the lowest power consumption only
;;;539     *	interface selection is kept alive
;;;540     *	No data acquisition is performed
;;;541     *	The DEEPSUSPEND mode set from the register 0x11 bit 5
;;;542     *	by using the below API able to set the power mode as DEEPSUSPEND
;;;543     *	For the read/ write operation it is required to provide least 450us
;;;544     *	micro second delay*/
;;;545    
;;;546    	com_rslt = bmg160_set_power_mode(BMG160_MODE_DEEPSUSPEND);
0000ba  2001              MOVS     r0,#1
0000bc  f7fffffe          BL       bmg160_set_power_mode
0000c0  4605              MOV      r5,r0
;;;547    
;;;548    /*--------------------------------------------------------------------------*
;;;549    *********************** END DE-INITIALIZATION **************************
;;;550    *---------------------------------------------------------------------------*/
;;;551    
;;;552      if(0 == com_rslt){
0000c2  b905              CBNZ     r5,|L7.198|
;;;553        err = kNoErr;
0000c4  2400              MOVS     r4,#0
                  |L7.198|
;;;554      }
;;;555      
;;;556    exit:
0000c6  bf00              NOP      
                  |L7.200|
;;;557      return err;
0000c8  4620              MOV      r0,r4
;;;558    }
0000ca  e8bd81fc          POP      {r2-r8,pc}
;;;559    
                          ENDP

0000ce  0000              DCW      0x0000
                  |L7.208|
                          DCD      0xffffe5d4
                  |L7.212|
                          DCD      bmg160_i2c_device
                  |L7.216|
                          DCD      mico_debug_enabled
                  |L7.220|
                          DCD      stdio_tx_mutex
                  |L7.224|
0000e0  2e2e5c2e          DCB      "..\\..\\..\\..\\Platform\\Drivers\\sensor\\BMG160\\bmg1"
0000e4  2e5c2e2e
0000e8  5c2e2e5c
0000ec  506c6174
0000f0  666f726d
0000f4  5c447269
0000f8  76657273
0000fc  5c73656e
000100  736f725c
000104  424d4731
000108  36305c62
00010c  6d6731  
00010f  36305f75          DCB      "60_user.c"
000113  7365722e
000117  63      
                  |L7.280|
000118  00                DCB      0
000119  00                DCB      0
00011a  00                DCB      0
00011b  00                DCB      0
                  |L7.284|
                          DCD      |symbol_number.30|
                  |L7.288|
000120  5b25645d          DCB      "[%d][MICO:%s:%s:%4d] **ASSERT** %s\r\n",0
000124  5b4d4943
000128  4f3a2573
00012c  3a25733a
000130  2534645d
000134  202a2a41
000138  53534552
00013c  542a2a20
000140  25730d0a
000144  00      
000145  00                DCB      0
000146  00                DCB      0
000147  00                DCB      0
                  |L7.328|
000148  424d4731          DCB      "BMG160_USER",0
00014c  36305f55
000150  53455200
                  |L7.340|
000154  5b25645d          DCB      "[%d][%s: %s:%4d] BMG160_ERROR: MicoI2cFinalize err = %d"
000158  5b25733a
00015c  2025733a
000160  2534645d
000164  20424d47
000168  3136305f
00016c  4552524f
000170  523a204d
000174  69636f49
000178  32634669
00017c  6e616c69
000180  7a652065
000184  7272203d
000188  202564  
00018b  2e0d0a00          DCB      ".\r\n",0
00018f  00                DCB      0

                          AREA ||i.bmg160_sensor_init||, CODE, READONLY, ALIGN=2

                          REQUIRE _printf_pre_padding
                          REQUIRE _printf_percent
                          REQUIRE _printf_widthprec
                          REQUIRE _printf_d
                          REQUIRE _printf_s
                          REQUIRE _printf_int_dec
                          REQUIRE _printf_str
                          REQUIRE _printf_str
                          REQUIRE _printf_str
                          REQUIRE _printf_str
                  bmg160_sensor_init PROC
;;;439    
;;;440    OSStatus bmg160_sensor_init(void)
000000  e92d43fe          PUSH     {r1-r9,lr}
;;;441    {
;;;442      OSStatus err = kUnknownErr;
000004  4c69              LDR      r4,|L8.428|
;;;443      /* variable used for read the gyro bandwidth data*/
;;;444      u8 v_gyro_value_u8 = BMG160_INIT_VALUE;
000006  2000              MOVS     r0,#0
000008  9002              STR      r0,[sp,#8]
;;;445      /* variable used for set the gyro bandwidth data*/
;;;446      u8 v_bw_u8 = BMG160_INIT_VALUE;
00000a  2600              MOVS     r6,#0
;;;447      s32 com_rslt = BMG160_ERROR;  // result of communication results
00000c  1e45              SUBS     r5,r0,#1
;;;448     // u8 v_stand_by_time_u8 = BME280_INIT_VALUE;  //  The variable used to assign the standby time
;;;449      
;;;450      // I2C init
;;;451      MicoI2cFinalize(&bmg160_i2c_device);   // in case error
00000e  4868              LDR      r0,|L8.432|
000010  f7fffffe          BL       MicoI2cFinalize
;;;452      err = MicoI2cInitialize(&bmg160_i2c_device);
000014  4866              LDR      r0,|L8.432|
000016  f7fffffe          BL       MicoI2cInitialize
00001a  4604              MOV      r4,r0
;;;453      require_noerr_action( err, exit, bmg160_user_log("BMG160_ERROR: MicoI2cInitialize err = %d.", err) );
00001c  bf00              NOP      
00001e  4627              MOV      r7,r4
000020  2f00              CMP      r7,#0
000022  d04f              BEQ      |L8.196|
000024  bf00              NOP      
000026  4863              LDR      r0,|L8.436|
000028  6800              LDR      r0,[r0,#0]  ; mico_debug_enabled
00002a  b900              CBNZ     r0,|L8.46|
00002c  e021              B        |L8.114|
                  |L8.46|
00002e  4862              LDR      r0,|L8.440|
000030  f7fffffe          BL       mico_rtos_lock_mutex
000034  215c              MOVS     r1,#0x5c
000036  a061              ADR      r0,|L8.444|
000038  f7fffffe          BL       strrchr
00003c  b128              CBZ      r0,|L8.74|
00003e  215c              MOVS     r1,#0x5c
000040  a05e              ADR      r0,|L8.444|
000042  f7fffffe          BL       strrchr
000046  1c40              ADDS     r0,r0,#1
000048  e000              B        |L8.76|
                  |L8.74|
00004a  a05c              ADR      r0,|L8.444|
                  |L8.76|
00004c  4680              MOV      r8,r0
00004e  f7fffffe          BL       mico_get_time
000052  4681              MOV      r9,r0
000054  a067              ADR      r0,|L8.500|
000056  f24011c5          MOV      r1,#0x1c5
00005a  4b67              LDR      r3,|L8.504|
00005c  4642              MOV      r2,r8
00005e  e9cd1000          STRD     r1,r0,[sp,#0]
000062  4649              MOV      r1,r9
000064  a065              ADR      r0,|L8.508|
000066  f7fffffe          BL       __2printf
00006a  4853              LDR      r0,|L8.440|
00006c  f7fffffe          BL       mico_rtos_unlock_mutex
000070  bf00              NOP      
                  |L8.114|
000072  bf00              NOP      
000074  bf00              NOP      
000076  484f              LDR      r0,|L8.436|
000078  6800              LDR      r0,[r0,#0]  ; mico_debug_enabled
00007a  b900              CBNZ     r0,|L8.126|
00007c  e020              B        |L8.192|
                  |L8.126|
00007e  484e              LDR      r0,|L8.440|
000080  f7fffffe          BL       mico_rtos_lock_mutex
000084  215c              MOVS     r1,#0x5c
000086  a04d              ADR      r0,|L8.444|
000088  f7fffffe          BL       strrchr
00008c  b128              CBZ      r0,|L8.154|
00008e  215c              MOVS     r1,#0x5c
000090  a04a              ADR      r0,|L8.444|
000092  f7fffffe          BL       strrchr
000096  1c40              ADDS     r0,r0,#1
000098  e000              B        |L8.156|
                  |L8.154|
00009a  a048              ADR      r0,|L8.444|
                  |L8.156|
00009c  4680              MOV      r8,r0
00009e  f7fffffe          BL       mico_get_time
0000a2  4681              MOV      r9,r0
0000a4  f24010c5          MOV      r0,#0x1c5
0000a8  4643              MOV      r3,r8
0000aa  a25e              ADR      r2,|L8.548|
0000ac  4649              MOV      r1,r9
0000ae  e9cd0400          STRD     r0,r4,[sp,#0]
0000b2  a05f              ADR      r0,|L8.560|
0000b4  f7fffffe          BL       __2printf
0000b8  483f              LDR      r0,|L8.440|
0000ba  f7fffffe          BL       mico_rtos_unlock_mutex
0000be  bf00              NOP      
                  |L8.192|
0000c0  bf00              NOP      
0000c2  e070              B        |L8.422|
                  |L8.196|
0000c4  bf00              NOP      
;;;454      if( false == MicoI2cProbeDevice(&bmg160_i2c_device, 5) ){
0000c6  2105              MOVS     r1,#5
0000c8  4839              LDR      r0,|L8.432|
0000ca  f7fffffe          BL       MicoI2cProbeDevice
0000ce  2800              CMP      r0,#0
0000d0  d128              BNE      |L8.292|
;;;455        bmg160_user_log("BMG160_ERROR: no i2c device found!");
0000d2  bf00              NOP      
0000d4  4837              LDR      r0,|L8.436|
0000d6  6800              LDR      r0,[r0,#0]  ; mico_debug_enabled
0000d8  b900              CBNZ     r0,|L8.220|
0000da  e01f              B        |L8.284|
                  |L8.220|
0000dc  4836              LDR      r0,|L8.440|
0000de  f7fffffe          BL       mico_rtos_lock_mutex
0000e2  215c              MOVS     r1,#0x5c
0000e4  a035              ADR      r0,|L8.444|
0000e6  f7fffffe          BL       strrchr
0000ea  b128              CBZ      r0,|L8.248|
0000ec  215c              MOVS     r1,#0x5c
0000ee  a033              ADR      r0,|L8.444|
0000f0  f7fffffe          BL       strrchr
0000f4  1c40              ADDS     r0,r0,#1
0000f6  e000              B        |L8.250|
                  |L8.248|
0000f8  a030              ADR      r0,|L8.444|
                  |L8.250|
0000fa  4607              MOV      r7,r0
0000fc  f7fffffe          BL       mico_get_time
000100  4680              MOV      r8,r0
000102  f24010c7          MOV      r0,#0x1c7
000106  463b              MOV      r3,r7
000108  a246              ADR      r2,|L8.548|
00010a  4641              MOV      r1,r8
00010c  9000              STR      r0,[sp,#0]
00010e  a058              ADR      r0,|L8.624|
000110  f7fffffe          BL       __2printf
000114  4828              LDR      r0,|L8.440|
000116  f7fffffe          BL       mico_rtos_unlock_mutex
00011a  bf00              NOP      
                  |L8.284|
00011c  bf00              NOP      
;;;456        err = kNotFoundErr;
00011e  4c23              LDR      r4,|L8.428|
000120  3c1b              SUBS     r4,r4,#0x1b
;;;457        goto exit;
000122  e040              B        |L8.422|
                  |L8.292|
;;;458      }
;;;459      
;;;460      // sensor init
;;;461    
;;;462      /*********************** START INITIALIZATION ************************/
;;;463      /*	Based on the user need configure I2C or SPI interface.
;;;464      *	It is example code to explain how to use the bme280 API*/
;;;465    #ifdef BMG160_API
;;;466      BMG160_I2C_routine();
000124  f7fffffe          BL       BMG160_I2C_routine
;;;467      com_rslt = bmg160_init(&bmg160);
000128  485f              LDR      r0,|L8.680|
00012a  f7fffffe          BL       bmg160_init
00012e  4605              MOV      r5,r0
;;;468      com_rslt += bmg160_set_power_mode(BMG160_MODE_NORMAL);
000130  2000              MOVS     r0,#0
000132  f7fffffe          BL       bmg160_set_power_mode
000136  4405              ADD      r5,r5,r0
;;;469      /*------------------------------------------------------------------------*
;;;470      ************************* START GET and SET FUNCTIONS DATA ***************
;;;471      *--------------------------------------------------------------------------*/
;;;472      /* This API used to Write the bandwidth of the gyro sensor
;;;473      input value have to be give 0x10 bit BMG160_INIT_VALUE to 3
;;;474      The bandwidth set from the register */
;;;475      v_bw_u8 = C_BMG160_BW_230HZ_U8X;/* set gyro bandwidth of 230Hz*/
000138  2601              MOVS     r6,#1
;;;476      com_rslt += bmg160_set_bw(v_bw_u8);
00013a  4630              MOV      r0,r6
00013c  f7fffffe          BL       bmg160_set_bw
000140  4405              ADD      r5,r5,r0
;;;477    
;;;478      /* This API used to read back the written value of bandwidth for gyro*/
;;;479      com_rslt += bmg160_get_bw(&v_gyro_value_u8);
000142  a802              ADD      r0,sp,#8
000144  f7fffffe          BL       bmg160_get_bw
000148  4405              ADD      r5,r5,r0
;;;480      /*---------------------------------------------------------------------*
;;;481      ************************* END GET and SET FUNCTIONS ********************
;;;482      *----------------------------------------------------------------------*/
;;;483      if(com_rslt < 0){
00014a  2d00              CMP      r5,#0
00014c  da28              BGE      |L8.416|
;;;484        bmg160_user_log("BMG160_ERROR: bme280 sensor init failed!");
00014e  bf00              NOP      
000150  4818              LDR      r0,|L8.436|
000152  6800              LDR      r0,[r0,#0]  ; mico_debug_enabled
000154  b900              CBNZ     r0,|L8.344|
000156  e01f              B        |L8.408|
                  |L8.344|
000158  4817              LDR      r0,|L8.440|
00015a  f7fffffe          BL       mico_rtos_lock_mutex
00015e  215c              MOVS     r1,#0x5c
000160  a016              ADR      r0,|L8.444|
000162  f7fffffe          BL       strrchr
000166  b128              CBZ      r0,|L8.372|
000168  215c              MOVS     r1,#0x5c
00016a  a014              ADR      r0,|L8.444|
00016c  f7fffffe          BL       strrchr
000170  1c40              ADDS     r0,r0,#1
000172  e000              B        |L8.374|
                  |L8.372|
000174  a011              ADR      r0,|L8.444|
                  |L8.374|
000176  4607              MOV      r7,r0
000178  f7fffffe          BL       mico_get_time
00017c  4680              MOV      r8,r0
00017e  f44f70f2          MOV      r0,#0x1e4
000182  463b              MOV      r3,r7
000184  a227              ADR      r2,|L8.548|
000186  4641              MOV      r1,r8
000188  9000              STR      r0,[sp,#0]
00018a  a048              ADR      r0,|L8.684|
00018c  f7fffffe          BL       __2printf
000190  4809              LDR      r0,|L8.440|
000192  f7fffffe          BL       mico_rtos_unlock_mutex
000196  bf00              NOP      
                  |L8.408|
000198  bf00              NOP      
;;;485        err = kNotInitializedErr;
00019a  4c04              LDR      r4,|L8.428|
00019c  3c12              SUBS     r4,r4,#0x12
;;;486        goto exit;
00019e  e002              B        |L8.422|
                  |L8.416|
;;;487      }
;;;488      /************************* END INITIALIZATION *************************/
;;;489    #endif
;;;490      return kNoErr;
0001a0  2000              MOVS     r0,#0
                  |L8.418|
;;;491      
;;;492    exit:
;;;493      return err;
;;;494    }
0001a2  e8bd83fe          POP      {r1-r9,pc}
                  |L8.422|
0001a6  4620              MOV      r0,r4                 ;493
0001a8  e7fb              B        |L8.418|
;;;495    
                          ENDP

0001aa  0000              DCW      0x0000
                  |L8.428|
                          DCD      0xffffe5d4
                  |L8.432|
                          DCD      bmg160_i2c_device
                  |L8.436|
                          DCD      mico_debug_enabled
                  |L8.440|
                          DCD      stdio_tx_mutex
                  |L8.444|
0001bc  2e2e5c2e          DCB      "..\\..\\..\\..\\Platform\\Drivers\\sensor\\BMG160\\bmg1"
0001c0  2e5c2e2e
0001c4  5c2e2e5c
0001c8  506c6174
0001cc  666f726d
0001d0  5c447269
0001d4  76657273
0001d8  5c73656e
0001dc  736f725c
0001e0  424d4731
0001e4  36305c62
0001e8  6d6731  
0001eb  36305f75          DCB      "60_user.c"
0001ef  7365722e
0001f3  63      
                  |L8.500|
0001f4  00                DCB      0
0001f5  00                DCB      0
0001f6  00                DCB      0
0001f7  00                DCB      0
                  |L8.504|
                          DCD      __PRETTY_FUNCTION__
                  |L8.508|
0001fc  5b25645d          DCB      "[%d][MICO:%s:%s:%4d] **ASSERT** %s\r\n",0
000200  5b4d4943
000204  4f3a2573
000208  3a25733a
00020c  2534645d
000210  202a2a41
000214  53534552
000218  542a2a20
00021c  25730d0a
000220  00      
000221  00                DCB      0
000222  00                DCB      0
000223  00                DCB      0
                  |L8.548|
000224  424d4731          DCB      "BMG160_USER",0
000228  36305f55
00022c  53455200
                  |L8.560|
000230  5b25645d          DCB      "[%d][%s: %s:%4d] BMG160_ERROR: MicoI2cInitialize err = "
000234  5b25733a
000238  2025733a
00023c  2534645d
000240  20424d47
000244  3136305f
000248  4552524f
00024c  523a204d
000250  69636f49
000254  3263496e
000258  69746961
00025c  6c697a65
000260  20657272
000264  203d20  
000267  25642e0d          DCB      "%d.\r\n",0
00026b  0a00    
00026d  00                DCB      0
00026e  00                DCB      0
00026f  00                DCB      0
                  |L8.624|
000270  5b25645d          DCB      "[%d][%s: %s:%4d] BMG160_ERROR: no i2c device found!\r\n"
000274  5b25733a
000278  2025733a
00027c  2534645d
000280  20424d47
000284  3136305f
000288  4552524f
00028c  523a206e
000290  6f206932
000294  63206465
000298  76696365
00029c  20666f75
0002a0  6e64210d
0002a4  0a      
0002a5  00                DCB      0
0002a6  00                DCB      0
0002a7  00                DCB      0
                  |L8.680|
                          DCD      bmg160
                  |L8.684|
0002ac  5b25645d          DCB      "[%d][%s: %s:%4d] BMG160_ERROR: bme280 sensor init faile"
0002b0  5b25733a
0002b4  2025733a
0002b8  2534645d
0002bc  20424d47
0002c0  3136305f
0002c4  4552524f
0002c8  523a2062
0002cc  6d653238
0002d0  30207365
0002d4  6e736f72
0002d8  20696e69
0002dc  74206661
0002e0  696c65  
0002e3  64210d0a          DCB      "d!\r\n",0
0002e7  00      

                          AREA ||.bss||, DATA, NOINIT, ALIGN=2

                  bmg160
                          %        20

                          AREA ||.constdata||, DATA, READONLY, ALIGN=0

                  __PRETTY_FUNCTION__
000000  7369676e          DCB      0x73,0x69,0x67,0x6e
000004  65642069          DCB      0x65,0x64,0x20,0x69
000008  6e742062          DCB      0x6e,0x74,0x20,0x62
00000c  6d673136          DCB      0x6d,0x67,0x31,0x36
000010  305f7365          DCB      0x30,0x5f,0x73,0x65
000014  6e736f72          DCB      0x6e,0x73,0x6f,0x72
000018  5f696e69          DCB      0x5f,0x69,0x6e,0x69
00001c  7428766f          DCB      0x74,0x28,0x76,0x6f
000020  69642900          DCB      0x69,0x64,0x29,0x00
                  |symbol_number.30|
000024  7369676e          DCB      0x73,0x69,0x67,0x6e
000028  65642069          DCB      0x65,0x64,0x20,0x69
00002c  6e742062          DCB      0x6e,0x74,0x20,0x62
000030  6d673136          DCB      0x6d,0x67,0x31,0x36
000034  305f7365          DCB      0x30,0x5f,0x73,0x65
000038  6e736f72          DCB      0x6e,0x73,0x6f,0x72
00003c  5f646569          DCB      0x5f,0x64,0x65,0x69
000040  6e697428          DCB      0x6e,0x69,0x74,0x28
000044  766f6964          DCB      0x76,0x6f,0x69,0x64
000048  2900              DCB      0x29,0x00

                          AREA ||.data||, DATA, ALIGN=1

                  bmg160_i2c_device
000000  0200              DCB      0x02,0x00
000002  0068              DCW      0x0068
000004  0001              DCB      0x00,0x01

;*** Start embedded assembler ***

#line 1 "..\\..\\..\\..\\Platform\\Drivers\\sensor\\BMG160\\bmg160_user.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___13_bmg160_user_c_f709d540____REV16|
#line 114 "..\\..\\..\\..\\Platform\\Cortex-M4\\CMSIS\\core_cmInstr.h"
|__asm___13_bmg160_user_c_f709d540____REV16| PROC
#line 115

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___13_bmg160_user_c_f709d540____REVSH|
#line 128
|__asm___13_bmg160_user_c_f709d540____REVSH| PROC
#line 129

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
