Teleorigin RB800 User Manual page 37

Table of Contents

Advertisement

#I2C - I2C Bus Control
Example
12.6. Power-down mode - #SLEEP
#SLEEP – Power-down mode
AT#SLEEP=<n>
Write 6 bytes to slave device with address 0x53, with 100kHz clock
AT#I2C=0,"a60601aabbccddee"
OK
Read 5 bytes from slave device with address 0x53, with 400kHz clock
AT#I2C=3,"a705"
0000000001
OK
Read data is 0x00, 0x00, 0x00, 0x00, 0x01
Write 1 bytes and read 5 bytes from slave device with address 0x53, with
repeated start condition.
AT#I2C=0,"A60101A705"
AABBCCDDEE
OK
Read data is 0xAA, 0xBB, 0xCC, 0xDD, 0xEE
Set power-down mode.
Parameter:
<n>
0 - active mode
1 - deep power-down mode, GL865 is turn off. Automatically switch into
active mode when external power connected.
2 - deep power-down mode after 30 seconds, GL865 is turn off.
Automatically switch into active mode when external power connected.
NOTE: from version 2014061301
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rb900Rb800u

Table of Contents