Get a parameter for a port on the VUART.
result = lv1_get_virtual_uart_param( /*IN*/ port_number, param_id, /*OUT*/ ¶m_value );
| Inputs | |
|---|---|
| Register | Description |
| R3 | port_number - VUART port number |
| R4 | param_id - id of parameter to set (see notes) |
| Outputs | |
| Register | Description |
| R3 | Status - 0 = OK, Other values are unknown, but indicate failure. |
| R4 | param_value - parameter value |
Notes:
VUART parameters defined in vuart.c:
| Parameter | param_id | Notes |
|---|---|---|
| PARAM_TX_TRIGGER | 0 | |
| PARAM_RX_TRIGGER | 1 | |
| PARAM_INTERRUPT_MASK | 2 | |
| PARAM_RX_BUF_SIZE | 3 | read only |
| PARAM_RX_BYTES | 4 | read only |
| PARAM_TX_BUF_SIZE | 5 | read only, not referenced in current Kernel |
| PARAM_TX_BYTES | 6 | read only, not referenced in current Kernel |
| PARAM_INTERRUPT_STATUS | 7 | read only |