/*--------------------------------------------------------*/
/* F65\Constants\F28P65x.h                                */
/*                                                        */
/* Copyright (c) 2022-2023 Texas Instruments Incorporated */
/*                                                        */
/*--------------------------------------------------------*/

/*!
    \file F65\Constants\F28P65x.h
    \brief A set of Constant Values for the F28P65x Family.
*/
#ifndef CONSTANTS_F28P65x_H_
#define CONSTANTS_F28P65x_H_


/*!
 *  FMC memory map defines
 */
#if defined (_F28P65x) 
	#define FLASH_MAP_BEGIN            (uint32)(0x80000)
	#define FLASH_MAP_END              (uint32)(0x11FFFF)
	#define OTP_MAP_BEGIN              (uint32)(0x78000) //Customer OTP start
	#define OTP_MAP_END                (uint32)(0x7A3FF) //Customer OTP End
	#define OTPECC_MAP_BEGIN           (uint32)(0x1071000)
	#define OTPECC_MAP_END             (uint32)(0x107127F)
    #define OTPECC_MAP_END_PLUS1       (uint32)(0x1071280)
	#define FLASHECC_MAP_BEGIN         (uint32)(0x1080000)
	#define FLASHECC_MAP_END           (uint32)(0x1093FFF)
    #define FLASHECC_MAP_END_PLUS1     (uint32)(0x1094000)
    #define BANK0_START                (uint32)(0x80000)
    #define BANK4_END_PLUS1            (uint32)(0x120000)
    #define BANK0_DCSMOTP_START        (uint32)(0x78000)
    #define BANK4_DCSMOTP_END_PLUS1    (uint32)(0x7A400)
	
#endif

/*!
    \brief Define to map the direct access to the FMC registers.
*/
	#define CPU0_REGISTER_ADDRESS    0x0005F800


#endif /* CONSTANTS_F28P65x_H_ */
