Registers | S16A User’s Guide |
Write to a Trim Register
The trim registers are written by sending a
Dnmm | Write an | ||
| n | Number of the trim register to be written: | |
|
| 2 | Output 0 offset |
|
| 3 | Output 1 offset |
|
| 4 | Input 0 gain trim |
|
| 5 | Input 0 offset |
|
| 6 | Input 1 gain trim |
|
| 7 | Input 1 offset |
| mm | Hexadecimal value to write to the register. |
The UART responds with the
Read the Temperature Register
The Temperature register is read by sending a
T | Read the Temperature register. |
The UART responds with the
UART Command/Status Register
The UART CSR is an
Bit | S16A_ | Description |
|
|
|
|
|
|
7 | UART_INT | A |
|
| an SBus interrupt. |
|
|
|
6 |
| Unused. 0 when read. |
|
|
|
5 | UART_TXBSY | A |
|
| transmitting a command byte to the analog input module. No other bytes |
|
| can be sent until this bit is clear. |
|
|
|
4 | UART_RXRDY | A |
|
| a status byte from the analog input module. Valid status bytes can only be |
|
| read from the UART_DATA register when this bit is set. |
|
|
|
3 | UART_TXINT | A value of 1 enables the UART transmit complete interrupt. |
|
|
|
2 | UART_TXINT | A value of 1 enables the UART receive complete interrupt. |
|
|
|
| Unused. 0 when read. | |
|
|
|
Table 16. UART Command/Status Register
36 | EDT, Inc. October, 1996 |