TMPM4G9  V1.0.0.0
bsp_fuart_io.h File Reference

External reference declaration for USB FUART. More...

#include <stdarg.h>
#include "txz_sample_def.h"

Go to the source code of this file.

Data Structures

struct  fuart_io_initial_setting_t
 Initial setting.
User must be set. More...
 
struct  fuart_io_private_tx_t
 Send information. More...
 
struct  fuart_io_private_rx_t
 Receive information. More...
 
struct  fuart_io_private_info_t
 Private Member. More...
 
struct  fuart_io_t
 USB FUART class. More...
 

Macros

#define FUART_IO_SEND_MAX   ((uint32_t)32)
 
#define FUART_IO_RECEIVE_MAX   ((uint32_t)32)
 

Enumerations

enum  FUartIOTxState { FUART_IO_SEND_IDLE = 0U, FUART_IO_SEND_RUN, FUART_IO_SEND_SUCCESS, FUART_IO_SEND_FAILURE }
 Send state. More...
 
enum  FUartIORxState { FUART_IO_RECV_IDLE = 0U, FUART_IO_RECV_RUN, FUART_IO_RECV_FAILURE }
 Receive state. More...
 

Functions

int put_s (const char *s)
 The character is shown to an output stream. More...
 
int get_s (char *s, uint8_t num)
 The string is acquired from an input stream. More...
 
TXZ_Result fuart_io_initialize (fuart_io_initial_setting_t *p_param)
 Initialize. More...
 
void fuart_io_finalize (void)
 Finalize. More...
 
void fuart_io_irq_handler (void)
 FUART IRQ Handler. More...
 
TXZ_Result fuart_io_receive_stop (void)
 Receive Stop. More...
 
TXZ_Result fuart_io_receive_restart (void)
 Receive Restar. More...
 

Detailed Description

External reference declaration for USB FUART.

Version
V1.0.0.4
Date
2017-07-06 10:40:11

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

Copyright(C) Toshiba Electronic Device Solutions Corporation 2019