1 /*""FILE COMMENT""*******************************************************
2 * System Name	: CRC calculator API for RX62Nxx
3 * File Name		: r_pdl_crc_RX62Nxx.h
4 * Version		: 1.02
5 * Contents		: CRC 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_CRC_RX62Nxx_H
24 #define R_PDL_CRC_RX62Nxx_H
25 
26 /* Library prototypes */
27 bool R_CRC_CreateAll(
28 	const uint8_t
29 );
30 bool R_CRC_DestroyAll(
31 	void
32 );
33 bool R_CRC_WriteAll(
34 	const uint8_t
35 );
36 bool R_CRC_ReadAll(
37 	const uint8_t,
38 	volatile uint16_t * const
39 );
40 
41 /* Macro definitions */
42 
43 #define R_CRC_Create(a) \
44 ( \
45 R_CRC_CreateAll( (a) ) \
46 )
47 
48 #define R_CRC_Destroy() \
49 ( \
50 R_CRC_DestroyAll() \
51 )
52 
53 #define R_CRC_Write(a) \
54 ( \
55 R_CRC_WriteAll( (a) ) \
56 )
57 
58 #define R_CRC_Read(a, b) \
59 ( \
60 R_CRC_ReadAll( (a), (b) ) \
61 )
62 
63 #endif
64 /* End of file */
65