1 //------------------------------------------------------------------------------ 2 // Copyright 2012 (c) Silicon Laboratories Inc. 3 // 4 // SPDX-License-Identifier: Zlib 5 // 6 // This siHAL software is provided 'as-is', without any express or implied 7 // warranty. In no event will the authors be held liable for any damages 8 // arising from the use of this software. 9 // 10 // Permission is granted to anyone to use this software for any purpose, 11 // including commercial applications, and to alter it and redistribute it 12 // freely, subject to the following restrictions: 13 // 14 // 1. The origin of this software must not be misrepresented; you must not 15 // claim that you wrote the original software. If you use this software 16 // in a product, an acknowledgment in the product documentation would be 17 // appreciated but is not required. 18 // 2. Altered source versions must be plainly marked as such, and must not be 19 // misrepresented as being the original software. 20 // 3. This notice may not be removed or altered from any source distribution. 21 //------------------------------------------------------------------------------ 22 23 // Version: 1 24 25 #ifndef __SI32_ECRC_A_SUPPORT_H__ 26 #define __SI32_ECRC_A_SUPPORT_H__ 27 28 #include <stdint.h> 29 30 #ifdef __cplusplus 31 extern "C" { 32 #endif 33 34 //----------------------------------------------------------------------------- 35 // Define Processing Order Enum type 36 37 typedef enum SI32_ECRC_A_PROCESSING_ORDER_Enum 38 { 39 SI32_ECRC_A_PROCESSING_ORDER_NO_BYTE_REORIENTATION = 0, 40 SI32_ECRC_A_PROCESSING_ORDER_16_BIT_BIG_ENDIAN = 1, 41 SI32_ECRC_A_PROCESSING_ORDER_32_BIT_BIG_ENDIAN = 2 42 } SI32_ECRC_A_PROCESSING_ORDER_Enum_Type; 43 44 //----------------------------------------------------------------------------- 45 // Define Device Peripheral Enum type 46 47 typedef enum SI32_ECRC_A_DEVICE_PERIPHERAL_Enum 48 { 49 SI32_ECRC_A_DEVICE_PERIPHERAL_0 = 0, 50 SI32_ECRC_A_DEVICE_PERIPHERAL_1 = 1, 51 SI32_ECRC_A_DEVICE_PERIPHERAL_2 = 2, 52 SI32_ECRC_A_DEVICE_PERIPHERAL_3 = 3, 53 SI32_ECRC_A_DEVICE_PERIPHERAL_4 = 4, 54 SI32_ECRC_A_DEVICE_PERIPHERAL_5 = 5, 55 SI32_ECRC_A_DEVICE_PERIPHERAL_6 = 6, 56 SI32_ECRC_A_DEVICE_PERIPHERAL_7 = 7, 57 SI32_ECRC_A_DEVICE_PERIPHERAL_8 = 8, 58 SI32_ECRC_A_DEVICE_PERIPHERAL_9 = 9, 59 SI32_ECRC_A_DEVICE_PERIPHERAL_10 = 10, 60 SI32_ECRC_A_DEVICE_PERIPHERAL_11 = 11, 61 SI32_ECRC_A_DEVICE_PERIPHERAL_12 = 12, 62 SI32_ECRC_A_DEVICE_PERIPHERAL_13 = 13, 63 SI32_ECRC_A_DEVICE_PERIPHERAL_14 = 14, 64 SI32_ECRC_A_DEVICE_PERIPHERAL_15 = 15, 65 } SI32_ECRC_A_DEVICE_PERIPHERAL_Enum_Type; 66 67 #ifdef __cplusplus 68 } 69 #endif 70 71 #endif // __SI32_ECRC_A_SUPPORT_H__ 72 73 //-eof-------------------------------------------------------------------------- 74