Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VL53L0X_WrByte:
- 0001ee70: VL53L0X_WrByte+0 movs r3, #174 ; 0xae
- 146 VL53L0X_Error VL53L0X_WrByte(VL53L0X_DEV Dev, uint8_t index, uint8_t data){
- 0001ee72: VL53L0X_WrByte+2 push {r4, lr}
- 151 deviceAddress = Dev->I2cDevAddr;
- 0001ee74: VL53L0X_WrByte+4 lsls r3, r3, #1
- 153 status_int = VL53L0X_write_byte(deviceAddress, index, data);
- 0001ee76: VL53L0X_WrByte+6 ldrb r0, [r0, r3]
- 0001ee78: VL53L0X_WrByte+8 bl 0x1ed14 <VL53L0X_write_byte>
- 147 VL53L0X_Error Status = VL53L0X_ERROR_NONE;
- 0001ee7c: VL53L0X_WrByte+12 movs r3, #0
- 155 if (status_int != 0)
- 0001ee7e: VL53L0X_WrByte+14 cmp r0, #0
- 0001ee80: VL53L0X_WrByte+16 bne.n 0x1ee86 <VL53L0X_WrByte+22>
- 159 }
- 0001ee82: VL53L0X_WrByte+18 movs r0, r3
- 0001ee84: VL53L0X_WrByte+20 pop {r4, pc}
- 156 Status = VL53L0X_ERROR_CONTROL_INTERFACE;
- 0001ee86: VL53L0X_WrByte+22 subs r3, #20
- 0001ee88: VL53L0X_WrByte+24 b.n 0x1ee82 <VL53L0X_WrByte+18>
- 0001ee8a: nop ; (mov r8, r8)
- 166 deviceAddress = Dev->I2cDevAddr;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement