Modules | Macros
Collaboration diagram for FLASH Private Macros:

Modules

 FLASH Private macros to check input parameters
 

Macros

#define IS_BOOT_ADDRESS(ADDRESS)   ((ADDRESS) <= (0x3FFF0000U))
 
#define IS_BOOT_ADDRESS(ADDRESS)   ((ADDRESS) <= (0x3FFF0000U))
 
#define IS_FLASH_BANK(BANK)   ((BANK) == FLASH_BANK_1)
 
#define IS_FLASH_BANK(BANK)   ((BANK) == FLASH_BANK_1)
 
#define IS_FLASH_BANK_EXCLUSIVE(BANK)   ((BANK) == FLASH_BANK_1)
 
#define IS_FLASH_BANK_EXCLUSIVE(BANK)   ((BANK) == FLASH_BANK_1)
 
#define IS_FLASH_FLAG_BANK1(FLAG)   (((FLAG) & FLASH_FLAG_ALL_BANK1) == (FLAG))
 
#define IS_FLASH_FLAG_BANK1(FLAG)   (((FLAG) & FLASH_FLAG_ALL_BANK1) == (FLAG))
 
#define IS_FLASH_IT_BANK1(IT)   (((IT) & FLASH_IT_ALL_BANK1) == (IT))
 
#define IS_FLASH_IT_BANK1(IT)   (((IT) & FLASH_IT_ALL_BANK1) == (IT))
 
#define IS_FLASH_PROGRAM_ADDRESS(ADDRESS)   (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS))
 
#define IS_FLASH_PROGRAM_ADDRESS(ADDRESS)   (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS))
 
#define IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS)   (((ADDRESS) >= FLASH_BANK1_BASE) && ((ADDRESS) <= FLASH_END))
 
#define IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS)   (((ADDRESS) >= FLASH_BANK1_BASE) && ((ADDRESS) <= FLASH_END))
 
#define IS_FLASH_TYPEPROGRAM(VALUE)   ((VALUE) == FLASH_TYPEPROGRAM_FLASHWORD)
 
#define IS_FLASH_TYPEPROGRAM(VALUE)   ((VALUE) == FLASH_TYPEPROGRAM_FLASHWORD)
 

Detailed Description

Macro Definition Documentation

◆ IS_BOOT_ADDRESS [1/2]

#define IS_BOOT_ADDRESS (   ADDRESS)    ((ADDRESS) <= (0x3FFF0000U))

◆ IS_BOOT_ADDRESS [2/2]

#define IS_BOOT_ADDRESS (   ADDRESS)    ((ADDRESS) <= (0x3FFF0000U))

◆ IS_FLASH_BANK [1/2]

#define IS_FLASH_BANK (   BANK)    ((BANK) == FLASH_BANK_1)

◆ IS_FLASH_BANK [2/2]

#define IS_FLASH_BANK (   BANK)    ((BANK) == FLASH_BANK_1)

◆ IS_FLASH_BANK_EXCLUSIVE [1/2]

#define IS_FLASH_BANK_EXCLUSIVE (   BANK)    ((BANK) == FLASH_BANK_1)

◆ IS_FLASH_BANK_EXCLUSIVE [2/2]

#define IS_FLASH_BANK_EXCLUSIVE (   BANK)    ((BANK) == FLASH_BANK_1)

◆ IS_FLASH_FLAG_BANK1 [1/2]

#define IS_FLASH_FLAG_BANK1 (   FLAG)    (((FLAG) & FLASH_FLAG_ALL_BANK1) == (FLAG))

◆ IS_FLASH_FLAG_BANK1 [2/2]

#define IS_FLASH_FLAG_BANK1 (   FLAG)    (((FLAG) & FLASH_FLAG_ALL_BANK1) == (FLAG))

◆ IS_FLASH_IT_BANK1 [1/2]

#define IS_FLASH_IT_BANK1 (   IT)    (((IT) & FLASH_IT_ALL_BANK1) == (IT))

◆ IS_FLASH_IT_BANK1 [2/2]

#define IS_FLASH_IT_BANK1 (   IT)    (((IT) & FLASH_IT_ALL_BANK1) == (IT))

◆ IS_FLASH_PROGRAM_ADDRESS [1/2]

#define IS_FLASH_PROGRAM_ADDRESS (   ADDRESS)    (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS))

◆ IS_FLASH_PROGRAM_ADDRESS [2/2]

#define IS_FLASH_PROGRAM_ADDRESS (   ADDRESS)    (IS_FLASH_PROGRAM_ADDRESS_BANK1(ADDRESS))

◆ IS_FLASH_PROGRAM_ADDRESS_BANK1 [1/2]

#define IS_FLASH_PROGRAM_ADDRESS_BANK1 (   ADDRESS)    (((ADDRESS) >= FLASH_BANK1_BASE) && ((ADDRESS) <= FLASH_END))

◆ IS_FLASH_PROGRAM_ADDRESS_BANK1 [2/2]

#define IS_FLASH_PROGRAM_ADDRESS_BANK1 (   ADDRESS)    (((ADDRESS) >= FLASH_BANK1_BASE) && ((ADDRESS) <= FLASH_END))

◆ IS_FLASH_TYPEPROGRAM [1/2]

#define IS_FLASH_TYPEPROGRAM (   VALUE)    ((VALUE) == FLASH_TYPEPROGRAM_FLASHWORD)

◆ IS_FLASH_TYPEPROGRAM [2/2]

#define IS_FLASH_TYPEPROGRAM (   VALUE)    ((VALUE) == FLASH_TYPEPROGRAM_FLASHWORD)


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:06