# include/mios32/mios32_com.h File Reference

## Defines
#define | MIOS32_COM_DEFAULT_PORT USB0
#define | MIOS32_COM_DEBUG_PORT USB0
## Enumerations
enum | mios32_com_port_t { COM_DEFAULT = 0x00, COM_DEBUG = 0x01, COM_USB0 = 0x10, COM_USB1 = 0x11, COM_USB2 = 0x12, COM_USB3 = 0x13, COM_USB4 = 0x14, COM_USB5 = 0x15, COM_USB6 = 0x16, COM_USB7 = 0x17, COM_UART0 = 0x20, COM_UART1 = 0x21, COM_IIC0 = 0x30, COM_IIC1 = 0x31, COM_IIC2 = 0x32, COM_IIC3 = 0x33, COM_IIC4 = 0x34, COM_IIC5 = 0x35, COM_IIC6 = 0x36, COM_IIC7 = 0x37 }
## Functions
s32 | MIOS32_COM_Init (u32 mode)
s32 | MIOS32_COM_CheckAvailable (mios32_com_port_t port)
s32 | MIOS32_COM_SendChar_NonBlocking (mios32_com_port_t port, char c)
s32 | MIOS32_COM_SendChar (mios32_com_port_t port, char c)
s32 | MIOS32_COM_SendBuffer_NonBlocking (mios32_com_port_t port, u8 *buffer, u16 len)
s32 | MIOS32_COM_SendBuffer (mios32_com_port_t port, u8 *buffer, u16 len)
s32 | MIOS32_COM_SendString_NonBlocking (mios32_com_port_t port, char *str)
s32 | MIOS32_COM_SendString (mios32_com_port_t port, char *str)
s32 | MIOS32_COM_SendFormattedString_NonBlocking (mios32_com_port_t port, char *format,...)
s32 | MIOS32_COM_SendFormattedString (mios32_com_port_t port, char *format,...)
s32 | MIOS32_COM_Receive_Handler (void)
s32 | MIOS32_COM_ReceiveCallback_Init (void *callback_receive)
s32 | MIOS32_COM_DefaultPortSet (mios32_com_port_t port)
mios32_com_port_t | MIOS32_COM_DefaultPortGet (void)
s32 | MIOS32_COM_DebugPortSet (mios32_com_port_t port)
mios32_com_port_t | MIOS32_COM_DebugPortGet (void)

## Define Documentation

#define MIOS32_COM_DEBUG_PORT USB0

#define MIOS32_COM_DEFAULT_PORT USB0

## Enumeration Type Documentation

enum mios32_com_port_t

Enumerator:

  COM_DEFAULT |
  COM_DEBUG |
  COM_USB0 |
  COM_USB1 |
  COM_USB2 |
  COM_USB3 |
  COM_USB4 |
  COM_USB5 |
  COM_USB6 |
  COM_USB7 |
  COM_UART0 |
  COM_UART1 |
  COM_IIC0 |
  COM_IIC1 |
  COM_IIC2 |
  COM_IIC3 |
  COM_IIC4 |
  COM_IIC5 |
  COM_IIC6 |
  COM_IIC7 |