1 /*""FILE COMMENT""******************************************************* 2 * System Name : Independent Watchdog timer API for RX62Nxx 3 * File Name : r_pdl_iwdt_RX62Nxx.h 4 * Version : 1.02 5 * Contents : IWDT API 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_IWDT_RX62Nxx_H 24 #define R_PDL_IWDT_RX62Nxx_H 25 26 /* Library prototypes */ 27 bool R_IWDT_SetAll( 28 const uint16_t 29 ); 30 bool R_IWDT_ControlAll( 31 const uint8_t 32 ); 33 bool R_IWDT_ReadAll( 34 volatile uint16_t * const 35 ); 36 37 /* Macro definitions */ 38 39 #define R_IWDT_Set(a) \ 40 ( \ 41 R_IWDT_SetAll( (a) ) \ 42 ) 43 44 #define R_IWDT_Control(a) \ 45 ( \ 46 R_IWDT_ControlAll( (a) ) \ 47 ) 48 49 #define R_IWDT_Read(a) \ 50 ( \ 51 R_IWDT_ReadAll( (a) ) \ 52 ) 53 54 #endif 55 /* End of file */ 56