SRD Standelone programmation box: UsbUart.h File Reference

| SRD Standelone programmation box 2.0 (16/11/15 10:00:00) Documentation of the SRD standelone programmation box

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Enumerations Enumerator Macros Pages
Macros
UsbUart.h File Reference

Headerfile for USB Uart. More...

`#include "Uart1.h"`
Include dependency graph for UsbUart.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros

#define | USBUART_BAUDRATE (115200U)
| Define the baudrate used by FTDI USB/UART interface. More...
#define | UsbUartCtrl Uart1Ctrl
| Define the control structure used by the USB UART interface. More...
#define | UsbUartInit() Uart1Init(USBUART_BAUDRATE)
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartEnableTransmitter() UART1EnableTransmitter()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartDisableTransmitter() UART1DisableTransmitter()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartEnableTransmitterInterrupt() UART1EnableTransmitterInterrupt()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartDisableTransmitterInterrupt() UART1DisableTransmitterInterrupt()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartEnableReceiver() UART1EnableReceiver()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartDisableReceiver() UART1DisableReceiver()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartClearAllErrorFlag() UART1ClearAllErrorFlag()
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartSendData(pdata, dataLength) Uart1SendData(pdata,dataLength)
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartSendString(string) Uart1SendString(string)
| Map the USB/UART functions on the rigth uart module functions. More...
#define | UsbUartReadChar() Uart1ReadChar()
| Map the USB/UART functions on the rigth uart module functions. More...

## Detailed Description

Headerfile for USB Uart.

Author
  Thibaut LALUQUE 3D-Ouest

Date
  20/11/2014

Version
  1.0

All Right Reserved.

Definition in file UsbUart.h.

## Macro Definition Documentation

#define USBUART_BAUDRATE (115200U)

Define the baudrate used by FTDI USB/UART interface.

Definition at line 34 of file UsbUart.h.

#define UsbUartClearAllErrorFlag | ( |  | ) | UART1ClearAllErrorFlag()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 85 of file UsbUart.h.

#define UsbUartCtrl Uart1Ctrl

Define the control structure used by the USB UART interface.

Definition at line 42 of file UsbUart.h.

Referenced by UsbManager().

#define UsbUartDisableReceiver | ( |  | ) | UART1DisableReceiver()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 84 of file UsbUart.h.

Referenced by UsbManager().

#define UsbUartDisableTransmitter | ( |  | ) | UART1DisableTransmitter()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 80 of file UsbUart.h.

Referenced by UsbManager().

#define UsbUartDisableTransmitterInterrupt | ( |  | ) | UART1DisableTransmitterInterrupt()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 82 of file UsbUart.h.

#define UsbUartEnableReceiver | ( |  | ) | UART1EnableReceiver()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 83 of file UsbUart.h.

Referenced by StartScheduling(), UsbManager(), and UsbManagerInit().

#define UsbUartEnableTransmitter | ( |  | ) | UART1EnableTransmitter()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 79 of file UsbUart.h.

#define UsbUartEnableTransmitterInterrupt | ( |  | ) | UART1EnableTransmitterInterrupt()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 81 of file UsbUart.h.

#define UsbUartInit | ( |  | ) | Uart1Init(USBUART_BAUDRATE)

Map the USB/UART functions on the rigth uart module functions.

Definition at line 78 of file UsbUart.h.

Referenced by Setup(), UsbManager(), and UsbManagerInit().

#define UsbUartReadChar | ( |  | ) | Uart1ReadChar()

Map the USB/UART functions on the rigth uart module functions.

Definition at line 88 of file UsbUart.h.

Referenced by UsbManager().

#define UsbUartSendData | ( |  | pdata,
|  |  | dataLength
| ) |  | Uart1SendData(pdata,dataLength)

Map the USB/UART functions on the rigth uart module functions.

Definition at line 86 of file UsbUart.h.

Referenced by UsbManagerCmdDealer(), UsbManagerSendCR95Error(), and UsbManagerSendCR95Result().

#define UsbUartSendString | ( |  | string | ) | Uart1SendString(string)

Map the USB/UART functions on the rigth uart module functions.

Definition at line 87 of file UsbUart.h.

Referenced by PowerManagerSendBatteryInfo(), and UsbManagerCmdDealer().