Aguijón Software Libraries  1.0
Documentation for the included Libraries
 All Files Functions Variables Typedefs Enumerations Enumerator Macros
serial.h File Reference

Go to the source code of this file.

Macros

#define BAUD19200   25
 a 25 written to the BAUD register, represents 19200 bps
 
#define BAUD9600   51
 

Functions

void initUARTcommunication ()
 
void RS232_put (unsigned int data)
 

Macro Definition Documentation

#define BAUD19200   25

a 25 written to the BAUD register, represents 19200 bps

Definition at line 4 of file serial.h.

#define BAUD9600   51

Definition at line 6 of file serial.h.

Function Documentation

void initUARTcommunication ( void  )

Function: initUARTcommunication

Preconditions: Remmaped Rx & Tx pins.

Overview: Initializes the internal UART2 module.

Arguments: None.

Returns: None.

Definition at line 135 of file serial.c.

void RS232_put ( unsigned int  data)

Function: RS232_put

Preconditions: none.

Overview: Sends data using the included Microchip UART library.

Arguments: Data that will be sent.

Returns: None.

Definition at line 163 of file serial.c.