@CHIP-RTOS C Library V2.06 - Fossil API
fossil_enable_receiver
Enable/Disable receiver void fossil_enable_receiver ( int port, unsigned char mode ); Parameters
mode
- Mode: FOS_DISABLE = 0, disable receiver,
FOS_ENABLE = 1, enable receiver
SC1x Parameters
- port
- Port specifier:
FOSSIL_EXT = 0 for EXT port
FOSSIL_COM = 1 for COM port
SC1x3 Parameters
- port
- Port specifier:
FOSSIL_EXT = 0 for EXT port
FOSSIL_COM = 1 for COM port
FOSSIL_SER2 = 2 for SER2 port
FOSSIL_SER3 = 3 for SER3 port
Return Value
- -- none --
Comments
- This function is useful when using the SM35 as RS485 adapter.
Use this function to disable the receiver before transmitting data.
Wait until all data is send and reenable the receiver again.
This way you don't receive your own transmitted data.
By default the receiver is enabled.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.10 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|