Update Commands
parent
133182ab59
commit
b6268dedaf
25
Commands.md
25
Commands.md
@ -3,15 +3,6 @@ This page contains the valid commands that can be sent and how they are formatte
|
|||||||
|
|
||||||
Given we use I2C for comms using hex as the commands are reasonable.
|
Given we use I2C for comms using hex as the commands are reasonable.
|
||||||
|
|
||||||
## Categories
|
|
||||||
The commands are divided into the following categories, with their own upper byte.
|
|
||||||
The "#" denotes that this is dependent upon the command.
|
|
||||||
|
|
||||||
| hex | category |
|
|
||||||
| :- | :- |
|
|
||||||
| 0x1# | Read data |
|
|
||||||
| 0x2# | Write data |
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
### Configuration
|
### Configuration
|
||||||
| hex | config option | description | accepted values |
|
| hex | config option | description | accepted values |
|
||||||
@ -31,13 +22,17 @@ The "#" denotes that this is dependent upon the command.
|
|||||||
| 0x01 | Fan 1 |
|
| 0x01 | Fan 1 |
|
||||||
| 0x02 | Fan 2 |
|
| 0x02 | Fan 2 |
|
||||||
|
|
||||||
## Complete command table
|
## Read commands
|
||||||
| command | description | parameter |
|
| command | description | parameter |
|
||||||
| :-- | :-- | :-- |
|
| :-- | :-- | :-- |
|
||||||
| 0x11 | Read config | Config option |
|
| 0x11 | Read config | |
|
||||||
| 0x12 | Read voltage | Voltage source |
|
| 0x12 | Read voltage | Volage source |
|
||||||
| 0x13 | Read temperature | |
|
| 0x13 | Read temperature | |
|
||||||
| 0x14 | Read current fan speed | fan number |
|
| 0x14 | Read current fan speed | Fan number |
|
||||||
| 0x15 | Read bulk fan speed | fan number |
|
| 0x15 | Read bulk fan speed | Fan number |
|
||||||
|
|
||||||
|
## Write commands
|
||||||
|
| command | description | parameter |
|
||||||
|
| :-- | :-- | :-- |
|
||||||
| 0x21 | Write config | Config option |
|
| 0x21 | Write config | Config option |
|
||||||
| 0x22 | Clear stored fan speed data | fan number |
|
| 0x22 | Clear stored fan speed data | Fan number |
|
||||||
Loading…
Reference in New Issue
Block a user