TMPM4G(1) Group Peripheral Driver User Manual  V1.0.0.0
txz_cg.h
Go to the documentation of this file.
1 
13 /*------------------------------------------------------------------------------*/
14 /* Define to prevent recursive inclusion */
15 /*------------------------------------------------------------------------------*/
16 #ifndef __CG_H
17 #define __CG_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /*------------------------------------------------------------------------------*/
24 /* Includes */
25 /*------------------------------------------------------------------------------*/
26 #include "txz_driver_def.h"
27 
39 /*------------------------------------------------------------------------------*/
40 /* Macro Definition */
41 /*------------------------------------------------------------------------------*/
46 /* no define */ /* End of group CG_Exported_define */
50 
51 
52 /*------------------------------------------------------------------------------*/
53 /* Enumerated Type Definition */
54 /*------------------------------------------------------------------------------*/
59 /* no define */ /* End of group CG_Exported_define */
63 
64 /*------------------------------------------------------------------------------*/
65 /* Structure Definition */
66 /*------------------------------------------------------------------------------*/
74 /*----------------------------------*/
75 typedef struct
76 {
77  TSB_CG_TypeDef *p_instance;
78 } cg_t;
79  /* End of group CG_Exported_typedef */
83 
84 /*------------------------------------------------------------------------------*/
85 /* Functions */
86 /*------------------------------------------------------------------------------*/
91 uint32_t cg_get_fsysm(cg_t *p_obj);
92 uint32_t cg_get_phyt0(cg_t *p_obj);
93 uint32_t cg_get_mphyt0(cg_t *p_obj);
95 TXZ_Result cg_ihosc_disable(cg_t *p_obj); /* End of group CG_Exported_functions */
99  /* End of group CG */
103  /* End of group Periph_Driver */
107 
108 #ifdef __cplusplus
109 }
110 #endif /* __cplusplus */
111 #endif /* __CG_H */
112 
113 
TXZ_Result cg_ihosc_disable(cg_t *p_obj)
TXZ_Result
Definition: txz_driver_def.h:43
TXZ_Result cg_ihosc_enable(cg_t *p_obj)
uint32_t cg_get_mphyt0(cg_t *p_obj)
TSB_CG_TypeDef * p_instance
Definition: txz_cg.h:77
uint32_t cg_get_fsysm(cg_t *p_obj)
All common macro and definition for TXZ peripheral drivers.
CG member.
Definition: txz_cg.h:75
uint32_t cg_get_phyt0(cg_t *p_obj)