Index: FlashDrvr/Types.h =================================================================== diff -u -r51178541e201275f227c8b3e8084a455bb78cf39 -rb2eb8548de53d6b88342ee551a929a9fe166a1f9 --- FlashDrvr/Types.h (.../Types.h) (revision 51178541e201275f227c8b3e8084a455bb78cf39) +++ FlashDrvr/Types.h (.../Types.h) (revision b2eb8548de53d6b88342ee551a929a9fe166a1f9) @@ -1,3 +1,18 @@ +/************************************************************************** +* +* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* +* THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +* WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +* +* @file +* +* @date 10-Mar-2020 +* @author Sean +* +* @brief PLEASE WRITE A BRIEF +* +**************************************************************************/ /********************************************************************************************************************** * COPYRIGHT * ------------------------------------------------------------------------------------------------------------------- @@ -74,10 +89,10 @@ #endif #if !defined(false) -#define false 0U +#define false 0U #endif #if !defined(true) -#define true 1U +#define true 1U #endif /*****************************************************************************/ @@ -320,7 +335,7 @@ #if defined(_LITTLE_ENDIAN) typedef union { - volatile struct + volatile struct { #if defined (_C28X) uint16_t ChecksumLength:16; /* 0x150 bits 15:0 */ @@ -436,7 +451,7 @@ #else typedef union { - volatile struct + volatile struct { uint32_t OtpVersion:16; /* 0x150 bits 31:16 */ uint32_t ChecksumLength:16; /* 0x150 bits 15:0 */ @@ -540,8 +555,8 @@ uint16_t u16FlowCheck; uint16_t u16WaferYCoordinate; uint16_t u16WaferXCoordinate; -#else - uint16_t u16Reserved; +#else + uint16_t u16Reserved; uint16_t u16NumberOfBanks; uint16_t u16DevicePackage; uint16_t u16DeviceMemorySize;