TMPM4KxA Group Peripheral Driver User Manual  V1.0.4.0
Functions | Variables
txz_uart_ex.c File Reference

This file provides API functions for UART driver. More...

Functions

__STATIC_INLINE int32_t check_param_half_clock_output (uint32_t param)
 Check the Half Clock Mode Output Control's parameter. More...
 
__STATIC_INLINE int32_t check_param_half_clock_start (uint32_t param)
 Check the Half Clock Mode Start Control's parameter. More...
 
TXZ_Result uart_send_break (uart_t *p_obj)
 Send Break. More...
 
TXZ_Result uart_stop_break (uart_t *p_obj)
 Stop Break. More...
 
TXZ_Result uart_enable_half_clock (uart_t *p_obj, uint32_t start, uint32_t output)
 Enable Half Clock Mode. More...
 
TXZ_Result uart_disable_half_clock (uart_t *p_obj)
 Disable Half Clock Mode. More...
 
TXZ_Result uart_enable_loopback (uart_t *p_obj)
 Enable Loopback. More...
 
TXZ_Result uart_disable_loopback (uart_t *p_obj)
 Disable Loopback. More...
 
TXZ_Result uart_enable_wakeup (uart_t *p_obj)
 Enable Wakeup. More...
 
TXZ_Result uart_disable_wakeup (uart_t *p_obj)
 Disable Wakeup. More...
 

Variables

 C
 

Detailed Description

This file provides API functions for UART driver.

Extended functionality.

Version
V1.0.0.1
Date
2017-08-08 16:03:48

DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.

(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved

Function Documentation

◆ check_param_half_clock_output()

__STATIC_INLINE int32_t check_param_half_clock_output ( uint32_t  param)

Check the Half Clock Mode Output Control's parameter.

Parameters
param:Half Clock Mode Output Control's parameter
Return values
UART_PARAM_OK:Valid
UART_PARAM_NG:Invalid
Note
Macro definition is Half Clock Mode Output Control"UART_HALF_CLOCK_OUTPUT_xxxx".

◆ check_param_half_clock_start()

__STATIC_INLINE int32_t check_param_half_clock_start ( uint32_t  param)

Check the Half Clock Mode Start Control's parameter.

Parameters
param:Half Clock Mode Start Control's parameter
Return values
UART_PARAM_OK:Valid
UART_PARAM_NG:Invalid
Note
Macro definition is Half Clock Mode Start Control"UART_HALF_CLOCK_START_xxxx".