1 /*""FILE COMMENT""******************************************************* 2 * System Name : CGC API for RX62Nxx 3 * File Name : r_pdl_cgc_RX62Nxx.h 4 * Version : 1.02 5 * Contents : CGC header 6 * Customer : 7 * Model : 8 * Order : 9 * CPU : RX 10 * Compiler : RXC 11 * OS : Nothing 12 * Programmer : 13 * Note : 14 ************************************************************************ 15 * Copyright, 2011. Renesas Electronics Corporation 16 * and Renesas Solutions Corporation 17 ************************************************************************ 18 * History : 2011.04.08 19 * : Ver 1.02 20 * : CS-5 release. 21 *""FILE COMMENT END""**************************************************/ 22 23 #ifndef R_PDL_CGC_RX62Nxx_H 24 #define R_PDL_CGC_RX62Nxx_H 25 26 /* Library prototypes */ 27 bool R_CGC_SetAll( 28 const uint32_t, 29 const uint32_t, 30 const uint32_t, 31 const uint32_t, 32 const uint16_t 33 ); 34 35 bool R_CGC_ControlAll( 36 const uint16_t 37 ); 38 39 bool R_CGC_GetStatusAll( 40 volatile uint8_t * const 41 ); 42 43 /* Macro definitions */ 44 45 #define R_CGC_Set(a, b, c, d, e) \ 46 R_CGC_SetAll( (a), (b), (c), (d), (e) ) 47 48 #define R_CGC_Control(a) \ 49 R_CGC_ControlAll( (a) ) 50 51 #define R_CGC_GetStatus(a) \ 52 R_CGC_GetStatusAll( (a) ) 53 54 #endif 55 /* End of file */ 56