@CHIP-RTOS C Library V2.00 - Fossil API
fossil_set_rs485_txenable
Select RS485 pin. void fossil_set_rs485_txenable ( int port, int pin ); Parameters
port
- Port specifier: FOSSIL_EXT = 0 for EXT port,
FOSSIL_COM = 1 for COM port
pin
- PIO pin number, [0..13]
Return Value
- -- none --
Comments
- By default the RTS0 and RTS1 signals (pins) are used to enable/disable the
respective transmitter. (TxEnable)
This function lets you select any PIO from 0-13 as TxEnable (but not all
make sense). To change the default, call this function before you call
the fossil_set_rs485 function.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|