All trademarks are the property of their respective owners.
A complete list of direct commands can be found in the device-specific Technical Reference Manual. The format for a direct command is shown in the following examples.
Table 1-1 shows the Alarm Enable command that uses command 0x66. By default, the register setting for Alarm Enable is set to 0xF800. In the example, the setting is changed to 0xF082. The data is in little endian format. The device address for the BQ769x2 is 0x10 (8-bits) where the LSB is the R/W bit. A direct command follows the format I2C_Write(I2C_ADDR, Command, DataBlock), so for this example the command would be I2C_Write(0x10, 0x66, [0x82, 0xF0]).
Command | Name | Units | Type | Description |
---|---|---|---|---|
0x66 | Alarm Enable | Hex | H2 | Mask for Alarm Status(). Can be written to change during operation to change which alarm sources are enabled. |