SCI Routines. More...
Go to the source code of this file.
Enumerations | |
enum | SCI_PORT { SCIA = 0, SCIB = 1, SCIC = 2 } |
SCI PORT configuration values. More... | |
enum | SCI_STOPBIT { ONE_STOP_BIT = 0, TWO_STOP_BIT = 1 } |
number of stop bits configuration values More... | |
enum | SCI_PARITY { ODD_PARITY = 0, EVEN_PARITY = 1 } |
enum | SCI_PARITY_ENABLE { PARITY_DISABLED = 0, PARITY_ENABLED = 1 } |
Enable/Disable parity configuration values. More... | |
Functions | |
void | ConfigureSCI (interruptFCN, SCI_PORT SciPort, Uint32 speed, SCI_STOPBIT StopBit, SCI_PARITY parity, SCI_PARITY_ENABLE SciParityEnable, Uint16 nbit) |
void | SciFifoInit (volatile struct SCI_REGS *sciRegs) |
void | InitSCIGpio (SCI_PORT sciPort) |
void | EnableSCITXInterrupt (SCI_PORT sciPort, interruptFCN, unsigned char fifoLevel) |
void | DisableSCITXInterrupt (SCI_PORT sciPort) |
static void | SCIARxPIEAck (void) |
static void | SCIATxPIEAck (void) |
static void | SciXmit (volatile struct SCI_REGS *sciRegs, int a) |
static void | SciMsg (volatile struct SCI_REGS *sciRegs, char *msg) |
static void | SendDataChar (volatile struct SCI_REGS *sciRegs, volatile char *a) |
static void | SendDataCharNow (volatile struct SCI_REGS *sciRegs, volatile char *a) |
static void | SendDataInt (volatile struct SCI_REGS *sciRegs, volatile Uint16 *a) |
static void | SendDataIntNow (volatile struct SCI_REGS *sciRegs, volatile Uint16 *a) |
static void | SendDataIQ (volatile struct SCI_REGS *sciRegs, volatile Uint32 *a) |
static void | SendDataIQNow (volatile struct SCI_REGS *sciRegs, volatile Uint32 *a) |
static void | SciaXmit (int a) |
static void | SciaMsg (char *msg) |
static void | SendDataCharSciA (volatile char *a) |
static void | SendDataCharSciANow (volatile char *a) |
static void | SendDataIntSciA (volatile Uint16 *a) |
static void | SendDataIntSciANow (volatile Uint16 *a) |
static void | SendDataIQSciA (volatile Uint32 *a) |
static void | SendDataIQSciANow (volatile Uint32 *a) |
static void | ScibXmit (int a) |
static void | ScibMsg (char *msg) |
static void | SendDataCharSciB (volatile char *a) |
static void | SendDataCharSciBNow (volatile char *a) |
static void | SendDataIntSciB (volatile Uint16 *a) |
static void | SendDataIntSciBNow (volatile Uint16 *a) |
static void | SendDataIQSciB (volatile Uint32 *a) |
static void | SendDataIQSciBNow (volatile Uint32 *a) |
SCI Routines.
File Name: sci.h Project: TIMotorLIB
TI Doc: SPRU051B
Definition in file sci.h.
enum SCI_PARITY |
enum SCI_PARITY_ENABLE |
enum SCI_PORT |
enum SCI_STOPBIT |
void ConfigureSCI | ( | interruptFCN | , | |
SCI_PORT | SciPort, | |||
Uint32 | speed, | |||
SCI_STOPBIT | StopBit, | |||
SCI_PARITY | parity, | |||
SCI_PARITY_ENABLE | SciParityEnable, | |||
Uint16 | nbit | |||
) |
void EnableSCITXInterrupt | ( | SCI_PORT | sciPort, | |
interruptFCN | , | |||
unsigned char | fifoLevel | |||
) |
static void SciaXmit | ( | int | a | ) | [inline, static] |
static void ScibXmit | ( | int | a | ) | [inline, static] |
static void SciMsg | ( | volatile struct SCI_REGS * | sciRegs, | |
char * | msg | |||
) | [inline, static] |
static void SciXmit | ( | volatile struct SCI_REGS * | sciRegs, | |
int | a | |||
) | [inline, static] |
static void SendDataChar | ( | volatile struct SCI_REGS * | sciRegs, | |
volatile char * | a | |||
) | [inline, static] |
static void SendDataCharNow | ( | volatile struct SCI_REGS * | sciRegs, | |
volatile char * | a | |||
) | [inline, static] |
static void SendDataCharSciA | ( | volatile char * | a | ) | [inline, static] |
static void SendDataCharSciANow | ( | volatile char * | a | ) | [inline, static] |
static void SendDataCharSciB | ( | volatile char * | a | ) | [inline, static] |
static void SendDataCharSciBNow | ( | volatile char * | a | ) | [inline, static] |
static void SendDataInt | ( | volatile struct SCI_REGS * | sciRegs, | |
volatile Uint16 * | a | |||
) | [inline, static] |
static void SendDataIntNow | ( | volatile struct SCI_REGS * | sciRegs, | |
volatile Uint16 * | a | |||
) | [inline, static] |
static void SendDataIntSciA | ( | volatile Uint16 * | a | ) | [inline, static] |
static void SendDataIntSciANow | ( | volatile Uint16 * | a | ) | [inline, static] |
static void SendDataIntSciB | ( | volatile Uint16 * | a | ) | [inline, static] |
static void SendDataIntSciBNow | ( | volatile Uint16 * | a | ) | [inline, static] |
static void SendDataIQ | ( | volatile struct SCI_REGS * | sciRegs, | |
volatile Uint32 * | a | |||
) | [inline, static] |
static void SendDataIQNow | ( | volatile struct SCI_REGS * | sciRegs, | |
volatile Uint32 * | a | |||
) | [inline, static] |
static void SendDataIQSciA | ( | volatile Uint32 * | a | ) | [inline, static] |
static void SendDataIQSciANow | ( | volatile Uint32 * | a | ) | [inline, static] |
static void SendDataIQSciB | ( | volatile Uint32 * | a | ) | [inline, static] |