Mikroelektronika MIKROE-742 데이터 시트
External dependencies of RS-485 Library
Library Routines
- RS485Master_Init
- RS485Master_Receive
- RS485Master_Send
- RS485Slave_Init
- RS485Slave_Receive
- RS485Slave_Send
- RS485Master_Receive
- RS485Master_Send
- RS485Slave_Init
- RS485Slave_Receive
- RS485Slave_Send
339
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
The following variables
must be defined in all
projects using RS-485
Library:
Description:
Example :
var RS485_rxtx_pin :
sbit; sfr; external;
sbit; sfr; external;
Control RS-485 Trans-
mit/Receive operation
mode
mit/Receive operation
mode
var RS485_rxtx_pin :
sbit at PORTD.B2;
sbit at PORTD.B2;
var
RS485_rxtx_pin_direc-
tion :
RS485_rxtx_pin_direc-
tion :
sbit; sfr;
external;
Direction of the RS-485
Transmit/Receive pin
Transmit/Receive pin
var
RS485_rxtx_pin_direc-
tion :
RS485_rxtx_pin_direc-
tion :
sbit at
DDRD.B2;