SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
UART0.h File Reference
#include <stdint.h>
#include "OS.h"
Include dependency graph for UART0.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CR   0x0D
 
#define LF   0x0A
 
#define BS   0x08
 
#define ESC   0x1B
 
#define SP   0x20
 
#define DEL   0x7F
 

Functions

void UART_Init (void)
 
char UART_InChar (void)
 
void UART_OutChar (char data)
 
void UART_OutString (char *pt)
 
uint32_t UART_InUDec (void)
 
void UART_OutUDec (uint32_t n)
 
uint32_t UART_InUHex (void)
 
void UART_OutUHex (uint32_t number)
 
void UART_InString (char *bufPt, uint16_t max)
 
void OutCRLF (void)
 

Macro Definition Documentation

◆ BS

#define BS   0x08

Definition at line 43 of file UART0.h.

◆ CR

#define CR   0x0D

Definition at line 41 of file UART0.h.

◆ DEL

#define DEL   0x7F

Definition at line 46 of file UART0.h.

◆ ESC

#define ESC   0x1B

Definition at line 44 of file UART0.h.

◆ LF

#define LF   0x0A

Definition at line 42 of file UART0.h.

◆ SP

#define SP   0x20

Definition at line 45 of file UART0.h.

Function Documentation

◆ OutCRLF()

void OutCRLF ( void  )

Definition at line 316 of file UART0.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UART_InChar()

char UART_InChar ( void  )

Definition at line 115 of file UART0.c.

Here is the caller graph for this function:

◆ UART_Init()

void UART_Init ( void  )
Here is the caller graph for this function:

◆ UART_InString()

void UART_InString ( char *  bufPt,
uint16_t  max 
)

Definition at line 289 of file UART0.c.

Here is the call graph for this function:

◆ UART_InUDec()

uint32_t UART_InUDec ( void  )

Definition at line 174 of file UART0.c.

Here is the call graph for this function:

◆ UART_InUHex()

uint32_t UART_InUHex ( void  )

Definition at line 223 of file UART0.c.

Here is the call graph for this function:

◆ UART_OutChar()

void UART_OutChar ( char  data)

Definition at line 122 of file UART0.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UART_OutString()

void UART_OutString ( char *  pt)

Definition at line 159 of file UART0.c.

Here is the call graph for this function:

◆ UART_OutUDec()

void UART_OutUDec ( uint32_t  n)

Definition at line 203 of file UART0.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UART_OutUHex()

void UART_OutUHex ( uint32_t  number)

Definition at line 260 of file UART0.c.

Here is the call graph for this function:
Here is the caller graph for this function: