MotorWare f2806x Driver API Documentation
Functions
sci.c File Reference

Contains the various functions related to the serial communications interface (SCI) object. More...

#include "sw/drivers/sci/src/32b/f28x/f2806x/sci.h"

Go to the source code of this file.

Functions

void SCI_clearAutoBaudDetect (SCI_Handle sciHandle)
 Clears the auto baud detect mode. More...
 
void SCI_clearRxFifoOvf (SCI_Handle sciHandle)
 Clears the Rx FIFO overflow flag. More...
 
void SCI_clearRxFifoInt (SCI_Handle sciHandle)
 Clears the Rx FIFO interrupt flag. More...
 
void SCI_clearTxFifoInt (SCI_Handle sciHandle)
 Clears the Tx FIFO interrupt flag. More...
 
void SCI_disable (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) interrupt. More...
 
void SCI_disableAutoBaudAlign (SCI_Handle sciHandle)
 Disable the serial communications interface (SCI) auto baud alignment. More...
 
void SCI_disableLoopBack (SCI_Handle sciHandle)
 Disables the serial peripheral interface (SCI) loop back mode. More...
 
void SCI_disableParity (SCI_Handle sciHandle)
 Disable the parity. More...
 
void SCI_disableRx (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) master/slave receive mode. More...
 
void SCI_disableRxErrorInt (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) receive error interrupt. More...
 
void SCI_disableRxFifoInt (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) receive FIFO interrupt. More...
 
void SCI_disableRxInt (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) receive interrupt. More...
 
void SCI_disableSleep (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) sleep mode. More...
 
void SCI_disableTx (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) master/slave transmit mode. More...
 
void SCI_disableTxFifoEnh (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) transmit FIFO enhancements. More...
 
void SCI_disableTxFifoInt (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) transmit FIFO interrupt. More...
 
void SCI_disableTxInt (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) transmit interrupt. More...
 
void SCI_disableTxWake (SCI_Handle sciHandle)
 Disables the serial communications interface (SCI) wakeup method. More...
 
void SCI_enable (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) More...
 
void SCI_enableAutoBaudAlign (SCI_Handle sciHandle)
 Enable the serial communications interface (SCI) auto baud alignment. More...
 
void SCI_enableChannels (SCI_Handle sciHandle)
 Enable the serial communications interface (SCI) transmit and receive channels. More...
 
void SCI_enableLoopBack (SCI_Handle sciHandle)
 Enables the serial peripheral interface (SCI) loop back mode. More...
 
void SCI_enableParity (SCI_Handle sciHandle)
 Enables the serial peripheral interface (SCI) parity. More...
 
void SCI_enableRx (SCI_Handle sciHandle)
 Enables the serial peripheral interface (SCI) receiver. More...
 
void SCI_enableRxErrorInt (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) receive error interrupt. More...
 
void SCI_enableRxInt (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) receive interrupt. More...
 
void SCI_enableSleep (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) sleep mode. More...
 
void SCI_enableRxFifo (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) receive FIFO. More...
 
void SCI_enableRxFifoInt (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) receive FIFO interrupt. More...
 
void SCI_enableTx (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) masater/slave transmit mode. More...
 
void SCI_enableTxFifo (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) transmit FIFO. More...
 
void SCI_enableTxFifoEnh (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) transmit FIFO enhancements. More...
 
void SCI_enableTxFifoInt (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) transmit FIFO interrupt. More...
 
void SCI_enableTxInt (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) transmit interrupt. More...
 
void SCI_enableTxWake (SCI_Handle sciHandle)
 Enables the serial communications interface (SCI) wakeup method. More...
 
uint16_t SCI_getDataBlocking (SCI_Handle sciHandle)
 Gets data from the serial communications interface (Blocking) More...
 
uint16_t SCI_getDataNonBlocking (SCI_Handle sciHandle, uint16_t *success)
 Read data from the serial communications interface (Non-Blocking) More...
 
SCI_FifoStatus_e SCI_getRxFifoStatus (SCI_Handle sciHandle)
 Gets the serial communications interface (SCI) receive FIFO status. More...
 
SCI_FifoStatus_e SCI_getTxFifoStatus (SCI_Handle sciHandle)
 Gets the serial communications interface (SCI) transmit FIFO status. More...
 
SCI_Handle SCI_init (void *pMemory, const size_t numBytes)
 Initializes the serial communications interface (SCI) object handle. More...
 
void SCI_putDataBlocking (SCI_Handle sciHandle, uint16_t data)
 Writes data to the serial communications interface (Blocking) More...
 
uint16_t SCI_putDataNonBlocking (SCI_Handle sciHandle, uint16_t data)
 Writes data to the serial communications interface (Non-Blocking) More...
 
void SCI_reset (SCI_Handle sciHandle)
 Resets the serial communications interface (SCI) More...
 
void SCI_resetChannels (SCI_Handle sciHandle)
 Resets the serial communications interface (SCI) transmit and receive channels. More...
 
void SCI_resetRxFifo (SCI_Handle sciHandle)
 Resets the serial communications interface (SCI) receive FIFO. More...
 
void SCI_resetTxFifo (SCI_Handle sciHandle)
 Resets the serial communications interface (SCI) transmit FIFO. More...
 
void SCI_setBaudRate (SCI_Handle sciHandle, const SCI_BaudRate_e baudRate)
 Sets the serial communications interface (SCI) baud rate. More...
 
void SCI_setCharLength (SCI_Handle sciHandle, const SCI_CharLength_e charLength)
 Sets the serial communications interface (SCI) character length. More...
 
void SCI_setMode (SCI_Handle sciHandle, const SCI_Mode_e mode)
 Sets the serial communications interface (SCI) miltprocessor mode. More...
 
void SCI_setNumStopBits (SCI_Handle sciHandle, const SCI_NumStopBits_e numBits)
 Sets the serial communications interface (SCI) number of stop bits. More...
 
void SCI_setPriority (SCI_Handle sciHandle, const SCI_Priority_e priority)
 Sets the serial communications interface (SCI) priority. More...
 
void SCI_setParity (SCI_Handle sciHandle, const SCI_Parity_e parity)
 Sets the serial communications interface (SCI) parity. More...
 
void SCI_setTxDelay (SCI_Handle sciHandle, const uint_least8_t delay)
 Sets the serial communications interface (SCI) transmit delay. More...
 
void SCI_setRxFifoIntLevel (SCI_Handle sciHandle, const SCI_FifoLevel_e fifoLevel)
 Sets the serial communications interface (SCI) receive FIFO level for generating an interrupt. More...
 
void SCI_setTxFifoIntLevel (SCI_Handle sciHandle, const SCI_FifoLevel_e fifoLevel)
 Sets the serial communications interface (SCI) transmit FIFO level for generating an interrupt. More...
 

Detailed Description

Contains the various functions related to the serial communications interface (SCI) object.

(C) Copyright 2015, Texas Instruments, Inc.

Definition in file sci.c.