Subversion Repositories DashDisplay

Rev

Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 50 Rev 61
Line 119... Line 119...
119
 
119
 
120
/** @defgroup FLASH_Page_Size FLASH size information
120
/** @defgroup FLASH_Page_Size FLASH size information
121
  * @{
121
  * @{
122
  */
122
  */
123
 
123
 
-
 
124
#if defined (FLASH_CUT1) || defined (FLASH_CUT2)
-
 
125
#define FLASH_SIZE                      (uint32_t)((*((uint32_t *)FLASHSIZE_BASE)&0xFFU) * 1024U)
-
 
126
#else /*FLASH_CUT3 || FLASH_CUT4 || FLASH_CUT5 || FLASH_CUT6*/
124
#define FLASH_SIZE                (uint32_t)((*((uint32_t *)FLASHSIZE_BASE)&0xFFFFU) * 1024U)
127
#define FLASH_SIZE                      (uint32_t)((*((uint32_t *)FLASHSIZE_BASE)&0xFFFFU) * 1024U)
-
 
128
#endif
125
#define FLASH_PAGE_SIZE           (256U)  /*!< FLASH Page Size in bytes */
129
#define FLASH_PAGE_SIZE           (256U)  /*!< FLASH Page Size in bytes */
126
 
130
 
127
/**
131
/**
128
  * @}
132
  * @}
129
  */
133
  */