TMPM4G(1) Group Peripheral Driver User Manual  V1.0.0.0
txz_uart_ex.h
Go to the documentation of this file.
1 
14 /*------------------------------------------------------------------------------*/
15 /* Define to prevent recursive inclusion */
16 /*------------------------------------------------------------------------------*/
17 #ifndef __UART_EX_H
18 #define __UART_EX_H
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 /*------------------------------------------------------------------------------*/
25 /* Includes */
26 /*------------------------------------------------------------------------------*/
27 #include "txz_driver_def.h"
28 #include "txz_uart.h"
29 
39 /*------------------------------------------------------------------------------*/
40 /* Macro Definition */
41 /*------------------------------------------------------------------------------*/
52 #define UART_HALF_CLOCK_START_TXDA ((uint32_t)0x00000000)
53 #define UART_HALF_CLOCK_START_TXDB ((uint32_t)0x00040000) /* End of group UART_HalfClockStart */
57 
63 #define UART_HALF_CLOCK_OUTPUT_1 ((uint32_t)0x00000000)
64 #define UART_HALF_CLOCK_OUTPUT_2 ((uint32_t)0x00020000) /* End of group UART_HalfClockOutput */
68  /* End of group UART_Exported_define */
72 
73 
74 /*------------------------------------------------------------------------------*/
75 /* Enumerated Type Definition */
76 /*------------------------------------------------------------------------------*/
82 /* no define */
83  /* End of group UART_Exported_define */
87 
88 
89 /*------------------------------------------------------------------------------*/
90 /* Structure Definition */
91 /*------------------------------------------------------------------------------*/
97 /* no define */
98  /* End of group UART_Exported_typedef */
102 
103 
104 /*------------------------------------------------------------------------------*/
105 /* Functions */
106 /*------------------------------------------------------------------------------*/
113 TXZ_Result uart_enable_half_clock(uart_t *p_obj, uint32_t start, uint32_t output);
118 TXZ_Result uart_disable_wakeup(uart_t *p_obj); /* End of group UART_Exported_functions */
122  /* End of group UART */
126  /* End of group Periph_Driver */
130 
131 #ifdef __cplusplus
132 }
133 #endif /* __cplusplus */
134 #endif /* __UART_EX_H */
135 
136 
TXZ_Result uart_enable_wakeup(uart_t *p_obj)
TXZ_Result uart_enable_loopback(uart_t *p_obj)
TXZ_Result
Definition: txz_driver_def.h:43
TXZ_Result uart_disable_half_clock(uart_t *p_obj)
TXZ_Result uart_stop_break(uart_t *p_obj)
UART handle structure definition.
Definition: txz_uart.h:745
TXZ_Result uart_disable_loopback(uart_t *p_obj)
TXZ_Result uart_disable_wakeup(uart_t *p_obj)
TXZ_Result uart_enable_half_clock(uart_t *p_obj, uint32_t start, uint32_t output)
All common macro and definition for TXZ peripheral drivers.
TXZ_Result uart_send_break(uart_t *p_obj)
This file provides all the functions prototypes for UART driver.