stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
RS485.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Project: stepRocker Mini-TMCL (for stepRocker V2.2)
3 
4  Module: RS485.h
5  Definitons of RS485 functions
6 
7  Copyright (C) 2016 TRINAMIC Motion Control GmbH & Co KG
8  Waterloohain 5
9  D - 22769 Hamburg, Germany
10  http://www.trinamic.com/
11 
12  This program is free software; you can redistribute it and/or modify it
13  freely.
14 
15  This program is distributed "as is" in the hope that it will be useful, but
16  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17  or FITNESS FOR A PARTICULAR PURPOSE.
18 *******************************************************************************/
19 
30 void InitRS485(UCHAR Baudrate);
31 void WriteRS485(UCHAR Byte);
32 UCHAR ReadRS485(UCHAR *Byte);
void SetUARTTransmitDelay(UINT Delay)
Set RS485 transmit delay.
Definition: RS485.c:230
void InitRS485(UCHAR Baudrate)
Initalize RS485 interface.
Definition: RS485.c:140
void WriteRS485(UCHAR Byte)
Write to the RS485 interface.
UCHAR ReadRS485(UCHAR *Byte)
Read from the RS485 interface.
unsigned int UINT
32 bits unsigned
Definition: stepRocker.h:33
UINT CheckUARTTimeout(void)
Check and reset RS485 timeout flag.
Definition: RS485.c:244
unsigned char UCHAR
8 bits unsigned
Definition: stepRocker.h:31
static UINT Delay
Delay timer.
Definition: SysControl.c:44