Macros | |
| #define | FMU_FCCOB_COUNT |
FSTAT - Flash Status Register | |
| #define | FMU_FSTAT_FAIL_MASK |
| #define | FMU_FSTAT_FAIL_SHIFT |
| #define | FMU_FSTAT_FAIL(x) |
| #define | FMU_FSTAT_CMDABT_MASK |
| #define | FMU_FSTAT_CMDABT_SHIFT |
| #define | FMU_FSTAT_CMDABT(x) |
| #define | FMU_FSTAT_PVIOL_MASK |
| #define | FMU_FSTAT_PVIOL_SHIFT |
| #define | FMU_FSTAT_PVIOL(x) |
| #define | FMU_FSTAT_ACCERR_MASK |
| #define | FMU_FSTAT_ACCERR_SHIFT |
| #define | FMU_FSTAT_ACCERR(x) |
| #define | FMU_FSTAT_CWSABT_MASK |
| #define | FMU_FSTAT_CWSABT_SHIFT |
| #define | FMU_FSTAT_CWSABT(x) |
| #define | FMU_FSTAT_CCIF_MASK |
| #define | FMU_FSTAT_CCIF_SHIFT |
| #define | FMU_FSTAT_CCIF(x) |
| #define | FMU_FSTAT_CMDPRT_MASK |
| #define | FMU_FSTAT_CMDPRT_SHIFT |
| #define | FMU_FSTAT_CMDPRT(x) |
| #define | FMU_FSTAT_CMDP_MASK |
| #define | FMU_FSTAT_CMDP_SHIFT |
| #define | FMU_FSTAT_CMDP(x) |
| #define | FMU_FSTAT_CMDDID_MASK |
| #define | FMU_FSTAT_CMDDID_SHIFT |
| #define | FMU_FSTAT_CMDDID(x) |
| #define | FMU_FSTAT_DFDIF_MASK |
| #define | FMU_FSTAT_DFDIF_SHIFT |
| #define | FMU_FSTAT_DFDIF(x) |
| #define | FMU_FSTAT_SALV_USED_MASK |
| #define | FMU_FSTAT_SALV_USED_SHIFT |
| #define | FMU_FSTAT_SALV_USED(x) |
| #define | FMU_FSTAT_PEWEN_MASK |
| #define | FMU_FSTAT_PEWEN_SHIFT |
| #define | FMU_FSTAT_PEWEN(x) |
| #define | FMU_FSTAT_PERDY_MASK |
| #define | FMU_FSTAT_PERDY_SHIFT |
| #define | FMU_FSTAT_PERDY(x) |
| #define | FMUTEST_FSTAT_FAIL_MASK |
| #define | FMUTEST_FSTAT_FAIL_SHIFT |
| #define | FMUTEST_FSTAT_FAIL(x) |
| #define | FMUTEST_FSTAT_CMDABT_MASK |
| #define | FMUTEST_FSTAT_CMDABT_SHIFT |
| #define | FMUTEST_FSTAT_CMDABT(x) |
| #define | FMUTEST_FSTAT_PVIOL_MASK |
| #define | FMUTEST_FSTAT_PVIOL_SHIFT |
| #define | FMUTEST_FSTAT_PVIOL(x) |
| #define | FMUTEST_FSTAT_ACCERR_MASK |
| #define | FMUTEST_FSTAT_ACCERR_SHIFT |
| #define | FMUTEST_FSTAT_ACCERR(x) |
| #define | FMUTEST_FSTAT_CWSABT_MASK |
| #define | FMUTEST_FSTAT_CWSABT_SHIFT |
| #define | FMUTEST_FSTAT_CWSABT(x) |
| #define | FMUTEST_FSTAT_CCIF_MASK |
| #define | FMUTEST_FSTAT_CCIF_SHIFT |
| #define | FMUTEST_FSTAT_CCIF(x) |
| #define | FMUTEST_FSTAT_CMDPRT_MASK |
| #define | FMUTEST_FSTAT_CMDPRT_SHIFT |
| #define | FMUTEST_FSTAT_CMDPRT(x) |
| #define | FMUTEST_FSTAT_CMDP_MASK |
| #define | FMUTEST_FSTAT_CMDP_SHIFT |
| #define | FMUTEST_FSTAT_CMDP(x) |
| #define | FMUTEST_FSTAT_CMDDID_MASK |
| #define | FMUTEST_FSTAT_CMDDID_SHIFT |
| #define | FMUTEST_FSTAT_CMDDID(x) |
| #define | FMUTEST_FSTAT_DFDIF_MASK |
| #define | FMUTEST_FSTAT_DFDIF_SHIFT |
| #define | FMUTEST_FSTAT_DFDIF(x) |
| #define | FMUTEST_FSTAT_SALV_USED_MASK |
| #define | FMUTEST_FSTAT_SALV_USED_SHIFT |
| #define | FMUTEST_FSTAT_SALV_USED(x) |
| #define | FMUTEST_FSTAT_PEWEN_MASK |
| #define | FMUTEST_FSTAT_PEWEN_SHIFT |
| #define | FMUTEST_FSTAT_PEWEN(x) |
| #define | FMUTEST_FSTAT_PERDY_MASK |
| #define | FMUTEST_FSTAT_PERDY_SHIFT |
| #define | FMUTEST_FSTAT_PERDY(x) |
FCNFG - Flash Configuration Register | |
| #define | FMU_FCNFG_CCIE_MASK |
| #define | FMU_FCNFG_CCIE_SHIFT |
| #define | FMU_FCNFG_CCIE(x) |
| #define | FMU_FCNFG_ERSREQ_MASK |
| #define | FMU_FCNFG_ERSREQ_SHIFT |
| #define | FMU_FCNFG_ERSREQ(x) |
| #define | FMU_FCNFG_DFDIE_MASK |
| #define | FMU_FCNFG_DFDIE_SHIFT |
| #define | FMU_FCNFG_DFDIE(x) |
| #define | FMU_FCNFG_ERSIEN0_MASK |
| #define | FMU_FCNFG_ERSIEN0_SHIFT |
| #define | FMU_FCNFG_ERSIEN0(x) |
| #define | FMU_FCNFG_ERSIEN1_MASK |
| #define | FMU_FCNFG_ERSIEN1_SHIFT |
| #define | FMU_FCNFG_ERSIEN1(x) |
| #define | FMUTEST_FCNFG_CCIE_MASK |
| #define | FMUTEST_FCNFG_CCIE_SHIFT |
| #define | FMUTEST_FCNFG_CCIE(x) |
| #define | FMUTEST_FCNFG_ERSREQ_MASK |
| #define | FMUTEST_FCNFG_ERSREQ_SHIFT |
| #define | FMUTEST_FCNFG_ERSREQ(x) |
| #define | FMUTEST_FCNFG_DFDIE_MASK |
| #define | FMUTEST_FCNFG_DFDIE_SHIFT |
| #define | FMUTEST_FCNFG_DFDIE(x) |
| #define | FMUTEST_FCNFG_ERSIEN0_MASK |
| #define | FMUTEST_FCNFG_ERSIEN0_SHIFT |
| #define | FMUTEST_FCNFG_ERSIEN0(x) |
| #define | FMUTEST_FCNFG_ERSIEN1_MASK |
| #define | FMUTEST_FCNFG_ERSIEN1_SHIFT |
| #define | FMUTEST_FCNFG_ERSIEN1(x) |
FCTRL - Flash Control Register | |
| #define | FMU_FCTRL_RWSC_MASK |
| #define | FMU_FCTRL_RWSC_SHIFT |
| #define | FMU_FCTRL_RWSC(x) |
| #define | FMU_FCTRL_FDFD_MASK |
| #define | FMU_FCTRL_FDFD_SHIFT |
| #define | FMU_FCTRL_FDFD(x) |
| #define | FMU_FCTRL_ABTREQ_MASK |
| #define | FMU_FCTRL_ABTREQ_SHIFT |
| #define | FMU_FCTRL_ABTREQ(x) |
| #define | FMUTEST_FCTRL_RWSC_MASK |
| #define | FMUTEST_FCTRL_RWSC_SHIFT |
| #define | FMUTEST_FCTRL_RWSC(x) |
| #define | FMUTEST_FCTRL_LSACTIVE_MASK |
| #define | FMUTEST_FCTRL_LSACTIVE_SHIFT |
| #define | FMUTEST_FCTRL_LSACTIVE(x) |
| #define | FMUTEST_FCTRL_FDFD_MASK |
| #define | FMUTEST_FCTRL_FDFD_SHIFT |
| #define | FMUTEST_FCTRL_FDFD(x) |
| #define | FMUTEST_FCTRL_ABTREQ_MASK |
| #define | FMUTEST_FCTRL_ABTREQ_SHIFT |
| #define | FMUTEST_FCTRL_ABTREQ(x) |
FCCOB - Flash Common Command Object Registers | |
| #define | FMU_FCCOB_CCOBn_MASK |
| #define | FMU_FCCOB_CCOBn_SHIFT |
| #define | FMU_FCCOB_CCOBn(x) |
| #define FMU_FSTAT_FAIL | ( | x | ) |
FAIL - Command Fail Flag 0b0..Error not detected 0b1..Error detected
| #define FMU_FSTAT_CMDABT | ( | x | ) |
CMDABT - Command Abort Flag 0b0..No command abort detected 0b1..Command abort detected
| #define FMU_FSTAT_PVIOL | ( | x | ) |
PVIOL - Command Protection Violation Flag 0b0..No protection violation detected 0b1..Protection violation detected
| #define FMU_FSTAT_ACCERR | ( | x | ) |
ACCERR - Command Access Error Flag 0b0..No access error detected 0b1..Access error detected
| #define FMU_FSTAT_CWSABT | ( | x | ) |
CWSABT - Command Write Sequence Abort Flag 0b0..Command write sequence not aborted 0b1..Command write sequence aborted
| #define FMU_FSTAT_CCIF | ( | x | ) |
CCIF - Command Complete Interrupt Flag 0b0..Flash command, initialization, or power mode recovery in progress 0b1..Flash command, initialization, or power mode recovery has completed
| #define FMU_FSTAT_CMDPRT | ( | x | ) |
CMDPRT - Command protection level 0b00..Secure, normal access 0b01..Secure, privileged access 0b10..Nonsecure, normal access 0b11..Nonsecure, privileged access
| #define FMU_FSTAT_CMDP | ( | x | ) |
CMDP - Command protection status flag 0b0..Command protection level and domain ID are stale 0b1..Command protection level (CMDPRT) and domain ID (CMDDID) are set
| #define FMU_FSTAT_CMDDID | ( | x | ) |
CMDDID - Command domain ID
| #define FMU_FSTAT_DFDIF | ( | x | ) |
DFDIF - Double Bit Fault Detect Interrupt Flag 0b0..Double bit fault not detected during a valid flash read access 0b1..Double bit fault detected (or FCTRL[FDFD] is set) during a valid flash read access
| #define FMU_FSTAT_SALV_USED | ( | x | ) |
SALV_USED - Salvage Used for Erase operation 0b0..Salvage not used during last operation 0b1..Salvage used during the last erase operation
| #define FMU_FSTAT_PEWEN | ( | x | ) |
PEWEN - Program-Erase Write Enable Control 0b00..Writes are not enabled 0b01..Writes are enabled for one flash or IFR phrase (phrase programming, sector erase) 0b10..Writes are enabled for one flash or IFR page (page programming) 0b11..Reserved
| #define FMU_FSTAT_PERDY | ( | x | ) |
PERDY - Program-Erase Ready Control/Status Flag 0b0..Program or sector erase command operation not stalled 0b1..Program or sector erase command operation ready to execute
| #define FMU_FCNFG_CCIE | ( | x | ) |
CCIE - Command Complete Interrupt Enable 0b0..Command complete interrupt disabled 0b1..Command complete interrupt enabled
| #define FMU_FCNFG_ERSREQ | ( | x | ) |
ERSREQ - Mass Erase Request 0b0..No request or request complete 0b1..Request to run the Mass Erase operation
| #define FMU_FCNFG_DFDIE | ( | x | ) |
DFDIE - Double Bit Fault Detect Interrupt Enable 0b0..Double bit fault detect interrupt disabled 0b1..Double bit fault detect interrupt enabled
| #define FMU_FCNFG_ERSIEN0 | ( | x | ) |
ERSIEN0 - Erase IFR Sector Enable - Block 0 0b0000..Block 0 IFR Sector X is protected from erase by ERSSCR command 0b0001..Block 0 IFR Sector X is not protected from erase by ERSSCR command
| #define FMU_FCNFG_ERSIEN1 | ( | x | ) |
ERSIEN1 - Erase IFR Sector Enable - Block 1 (for dual block configs) 0b0000..Block 1 IFR Sector X is protected from erase by ERSSCR command 0b0001..Block 1 IFR Sector X is not protected from erase by ERSSCR command
| #define FMU_FCTRL_RWSC | ( | x | ) |
RWSC - Read Wait-State Control
| #define FMU_FCTRL_FDFD | ( | x | ) |
FDFD - Force Double Bit Fault Detect 0b0..FSTAT[DFDIF] sets only if a double bit fault is detected during a valid flash read access from the platform flash controller 0b1..FSTAT[DFDIF] sets during any valid flash read access from the platform flash controller. An interrupt request is generated if the DFDIE bit is set.
| #define FMU_FCTRL_ABTREQ | ( | x | ) |
ABTREQ - Abort Request 0b0..No request to abort a command write sequence 0b1..Request to abort a command write sequence
| #define FMU_FCCOB_CCOBn | ( | x | ) |
CCOBn - CCOBn
| #define FMUTEST_FSTAT_FAIL | ( | x | ) |
FAIL - Command Fail Flag 0b0..Error not detected 0b1..Error detected
| #define FMUTEST_FSTAT_CMDABT | ( | x | ) |
CMDABT - Command Abort Flag 0b0..No command abort detected 0b1..Command abort detected
| #define FMUTEST_FSTAT_PVIOL | ( | x | ) |
PVIOL - Command Protection Violation Flag 0b0..No protection violation detected 0b1..Protection violation detected
| #define FMUTEST_FSTAT_ACCERR | ( | x | ) |
ACCERR - Command Access Error Flag 0b0..No access error detected 0b1..Access error detected
| #define FMUTEST_FSTAT_CWSABT | ( | x | ) |
CWSABT - Command Write Sequence Abort Flag 0b0..Command write sequence not aborted 0b1..Command write sequence aborted
| #define FMUTEST_FSTAT_CCIF | ( | x | ) |
CCIF - Command Complete Interrupt Flag 0b0..Flash command or initialization in progress 0b1..Flash command or initialization has completed
| #define FMUTEST_FSTAT_CMDPRT | ( | x | ) |
CMDPRT - Command Protection Level 0b00..Secure, normal access 0b01..Secure, privileged access 0b10..Nonsecure, normal access 0b11..Nonsecure, privileged access
| #define FMUTEST_FSTAT_CMDP | ( | x | ) |
CMDP - Command Protection Status Flag 0b0..Command protection level and domain ID are stale 0b1..Command protection level (CMDPRT) and domain ID (CMDDID) are set
| #define FMUTEST_FSTAT_CMDDID | ( | x | ) |
CMDDID - Command Domain ID
| #define FMUTEST_FSTAT_DFDIF | ( | x | ) |
DFDIF - Double Bit Fault Detect Interrupt Flag 0b0..Double bit fault not detected during a valid flash read access from the FMC 0b1..Double bit fault detected (or FCTRL[FDFD] is set) during a valid flash read access from the FMC
| #define FMUTEST_FSTAT_SALV_USED | ( | x | ) |
SALV_USED - Salvage Used for Erase operation 0b0..Salvage not used during the last operation 0b1..Salvage used during the last erase operation
| #define FMUTEST_FSTAT_PEWEN | ( | x | ) |
PEWEN - Program-Erase Write Enable Control 0b00..Writes are not enabled 0b01..Writes are enabled for one flash or IFR phrase (phrase programming, sector erase) 0b10..Writes are enabled for one flash or IFR page (page programming) 0b11..Reserved
| #define FMUTEST_FSTAT_PERDY | ( | x | ) |
PERDY - Program/Erase Ready Control/Status Flag 0b0..Program or sector erase command operation is not stalled 0b1..Program or sector erase command operation is stalled
| #define FMUTEST_FCNFG_CCIE | ( | x | ) |
CCIE - Command Complete Interrupt Enable 0b0..Command complete interrupt disabled 0b1..Command complete interrupt enabled. An interrupt request is generated whenever the FSTAT[CCIF] flag is set.
| #define FMUTEST_FCNFG_ERSREQ | ( | x | ) |
ERSREQ - Mass Erase (Erase All) Request 0b0..No request or request complete 0b1..Request to run the Mass Erase operation
| #define FMUTEST_FCNFG_DFDIE | ( | x | ) |
DFDIE - Double Bit Fault Detect Interrupt Enable 0b0..Double bit fault detect interrupt disabled 0b1..Double bit fault detect interrupt enabled; an interrupt request is generated whenever the FSTAT[DFDIF] flag is set
| #define FMUTEST_FCNFG_ERSIEN0 | ( | x | ) |
ERSIEN0 - Erase IFR Sector Enable - Block 0 0b0000..Block 0 IFR Sector X is protected from erase by ERSSCR command 0b0001..Block 0 IFR Sector X is not protected from erase by ERSSCR command
| #define FMUTEST_FCNFG_ERSIEN1 | ( | x | ) |
ERSIEN1 - Erase IFR Sector Enable - Block 1 (for dual block configs) 0b0000..Block 1 IFR Sector X is protected from erase by ERSSCR command 0b0001..Block 1 IFR Sector X is not protected from erase by ERSSCR command
| #define FMUTEST_FCTRL_RWSC | ( | x | ) |
RWSC - Read Wait-State Control 0b0000..no additional wait-states are added (single cycle access) 0b0001..1 additional wait-state is added 0b0010..2 additional wait-states are added 0b0011..3 additional wait-states are added 0b0100..4 additional wait-states are added 0b0101..5 additional wait-states are added 0b0110..6 additional wait-states are added 0b0111..7 additional wait-states are added 0b1000..8 additional wait-states are added 0b1001..9 additional wait-states are added 0b1010..10 additional wait-states are added 0b1011..11 additional wait-states are added 0b1100..12 additional wait-states are added 0b1101..13 additional wait-states are added 0b1110..14 additional wait-states are added 0b1111..15 additional wait-states are added
| #define FMUTEST_FCTRL_LSACTIVE | ( | x | ) |
LSACTIVE - Low Speed Active Mode 0b0..Full speed active mode requested 0b1..Low speed active mode requested
| #define FMUTEST_FCTRL_FDFD | ( | x | ) |
FDFD - Force Double Bit Fault Detect 0b0..FSTAT[DFDIF] sets only if a double bit fault is detected during a valid flash read access from the FMC 0b1..FSTAT[DFDIF] sets during any valid flash read access from the FMC; an interrupt request is generated if the DFDIE bit is set
| #define FMUTEST_FCTRL_ABTREQ | ( | x | ) |
ABTREQ - Abort Request 0b0..No request to abort a command write sequence 0b1..Request to abort a command write sequence