Mikroelektronika MIKROE-350 Fiche De Données
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
326
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
The following variable
must be defined in all
projects using RS-485
Library:
Description:
Example :
dim RS485_rxtx_pin as
sbit sfr external
sbit sfr external
Control RS-485 Trans-
mit/Receive operation
mode
mit/Receive operation
mode
dim RS485_rxtx_pin as
sbit at PORTD.B2
sbit at PORTD.B2
dim
RS485_rxtx_pin_direc-
RS485_rxtx_pin_direc-
tion
as sbit sfr
external
Direction of the RS-485
Transmit/Receive pin
Transmit/Receive pin
dim
RS485_rxtx_pin_direc-
RS485_rxtx_pin_direc-
tion
as sbit at
DDRD.B2