CR - Control | |
| #define | SPI_FILTER_CR_P1_ACT_SEL_MASK |
| #define | SPI_FILTER_CR_P1_ACT_SEL_SHIFT |
| #define | SPI_FILTER_CR_P1_ACT_SEL(x) |
| #define | SPI_FILTER_CR_P1_BYTE_SEL_MASK |
| #define | SPI_FILTER_CR_P1_BYTE_SEL_SHIFT |
| #define | SPI_FILTER_CR_P1_BYTE_SEL(x) |
| #define | SPI_FILTER_CR_P1_BYTE_SEL_MD_MASK |
| #define | SPI_FILTER_CR_P1_BYTE_SEL_MD_SHIFT |
| #define | SPI_FILTER_CR_P1_BYTE_SEL_MD(x) |
| #define | SPI_FILTER_CR_P1_DIRTY_CLR_MASK |
| #define | SPI_FILTER_CR_P1_DIRTY_CLR_SHIFT |
| #define | SPI_FILTER_CR_P1_DIRTY_CLR(x) |
| #define | SPI_FILTER_CR_P1_FLT_EN_MASK |
| #define | SPI_FILTER_CR_P1_FLT_EN_SHIFT |
| #define | SPI_FILTER_CR_P1_FLT_EN(x) |
| #define | SPI_FILTER_CR_P1_FLASH_MD_MASK |
| #define | SPI_FILTER_CR_P1_FLASH_MD_SHIFT |
| #define | SPI_FILTER_CR_P1_FLASH_MD(x) |
| #define | SPI_FILTER_CR_P0_ACT_SEL_MASK |
| #define | SPI_FILTER_CR_P0_ACT_SEL_SHIFT |
| #define | SPI_FILTER_CR_P0_ACT_SEL(x) |
| #define | SPI_FILTER_CR_P0_BYTE_SEL_MASK |
| #define | SPI_FILTER_CR_P0_BYTE_SEL_SHIFT |
| #define | SPI_FILTER_CR_P0_BYTE_SEL(x) |
| #define | SPI_FILTER_CR_P0_BYTE_SEL_MD_MASK |
| #define | SPI_FILTER_CR_P0_BYTE_SEL_MD_SHIFT |
| #define | SPI_FILTER_CR_P0_BYTE_SEL_MD(x) |
| #define | SPI_FILTER_CR_P0_DIRTY_CLR_MASK |
| #define | SPI_FILTER_CR_P0_DIRTY_CLR_SHIFT |
| #define | SPI_FILTER_CR_P0_DIRTY_CLR(x) |
| #define | SPI_FILTER_CR_P0_FLT_EN_MASK |
| #define | SPI_FILTER_CR_P0_FLT_EN_SHIFT |
| #define | SPI_FILTER_CR_P0_FLT_EN(x) |
| #define | SPI_FILTER_CR_P0_FLASH_MD_MASK |
| #define | SPI_FILTER_CR_P0_FLASH_MD_SHIFT |
| #define | SPI_FILTER_CR_P0_FLASH_MD(x) |
ISR - Interrupt Register | |
| #define | SPI_FILTER_ISR_P0_DIRTY_INT_MASK |
| #define | SPI_FILTER_ISR_P0_DIRTY_INT_SHIFT |
| #define | SPI_FILTER_ISR_P0_DIRTY_INT(x) |
| #define | SPI_FILTER_ISR_P1_DIRTY_INT_MASK |
| #define | SPI_FILTER_ISR_P1_DIRTY_INT_SHIFT |
| #define | SPI_FILTER_ISR_P1_DIRTY_INT(x) |
| #define | SPI_FILTER_ISR_P0_BLK_INT_MASK |
| #define | SPI_FILTER_ISR_P0_BLK_INT_SHIFT |
| #define | SPI_FILTER_ISR_P0_BLK_INT(x) |
| #define | SPI_FILTER_ISR_P1_BLK_INT_MASK |
| #define | SPI_FILTER_ISR_P1_BLK_INT_SHIFT |
| #define | SPI_FILTER_ISR_P1_BLK_INT(x) |
| #define | SPI_FILTER_ISR_P0_BYTEMODE_INT_MASK |
| #define | SPI_FILTER_ISR_P0_BYTEMODE_INT_SHIFT |
| #define | SPI_FILTER_ISR_P0_BYTEMODE_INT(x) |
| #define | SPI_FILTER_ISR_P1_BYTEMODE_INT_MASK |
| #define | SPI_FILTER_ISR_P1_BYTEMODE_INT_SHIFT |
| #define | SPI_FILTER_ISR_P1_BYTEMODE_INT(x) |
| #define | SPI_FILTER_ISR_P0_F8_INT_MASK |
| #define | SPI_FILTER_ISR_P0_F8_INT_SHIFT |
| #define | SPI_FILTER_ISR_P0_F8_INT(x) |
| #define | SPI_FILTER_ISR_P1_F8_INT_MASK |
| #define | SPI_FILTER_ISR_P1_F8_INT_SHIFT |
| #define | SPI_FILTER_ISR_P1_F8_INT(x) |
IMR - Interrupt Mask Register | |
| #define | SPI_FILTER_IMR_P0_DIRTY_MASK_MASK |
| #define | SPI_FILTER_IMR_P0_DIRTY_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P0_DIRTY_MASK(x) |
| #define | SPI_FILTER_IMR_P1_DIRTY_MASK_MASK |
| #define | SPI_FILTER_IMR_P1_DIRTY_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P1_DIRTY_MASK(x) |
| #define | SPI_FILTER_IMR_P0_BLK_MASK_MASK |
| #define | SPI_FILTER_IMR_P0_BLK_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P0_BLK_MASK(x) |
| #define | SPI_FILTER_IMR_P1_BLK_MASK_MASK |
| #define | SPI_FILTER_IMR_P1_BLK_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P1_BLK_MASK(x) |
| #define | SPI_FILTER_IMR_P0_BYTEMODE_MASK_MASK |
| #define | SPI_FILTER_IMR_P0_BYTEMODE_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P0_BYTEMODE_MASK(x) |
| #define | SPI_FILTER_IMR_P1_BYTEMODE_MASK_MASK |
| #define | SPI_FILTER_IMR_P1_BYTEMODE_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P1_BYTEMODE_MASK(x) |
| #define | SPI_FILTER_IMR_P0_F8_MASK_MASK |
| #define | SPI_FILTER_IMR_P0_F8_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P0_F8_MASK(x) |
| #define | SPI_FILTER_IMR_P1_F8_MASK_MASK |
| #define | SPI_FILTER_IMR_P1_F8_MASK_SHIFT |
| #define | SPI_FILTER_IMR_P1_F8_MASK(x) |
SR - Status Register | |
| #define | SPI_FILTER_SR_P1_DIRTY_MASK |
| #define | SPI_FILTER_SR_P1_DIRTY_SHIFT |
| #define | SPI_FILTER_SR_P1_DIRTY(x) |
| #define | SPI_FILTER_SR_P1_BYTE_MODE_MASK |
| #define | SPI_FILTER_SR_P1_BYTE_MODE_SHIFT |
| #define | SPI_FILTER_SR_P1_BYTE_MODE(x) |
| #define | SPI_FILTER_SR_P0_DIRTY_MASK |
| #define | SPI_FILTER_SR_P0_DIRTY_SHIFT |
| #define | SPI_FILTER_SR_P0_DIRTY(x) |
| #define | SPI_FILTER_SR_P0_BYTE_MODE_MASK |
| #define | SPI_FILTER_SR_P0_BYTE_MODE_SHIFT |
| #define | SPI_FILTER_SR_P0_BYTE_MODE(x) |
TCR - Test Control Register | |
| #define | SPI_FILTER_TCR_P0_BYP_SEL_MASK |
| #define | SPI_FILTER_TCR_P0_BYP_SEL_SHIFT |
| #define | SPI_FILTER_TCR_P0_BYP_SEL(x) |
| #define | SPI_FILTER_TCR_P0_BYP_EN_MASK |
| #define | SPI_FILTER_TCR_P0_BYP_EN_SHIFT |
| #define | SPI_FILTER_TCR_P0_BYP_EN(x) |
| #define | SPI_FILTER_TCR_P1_BYP_SEL_MASK |
| #define | SPI_FILTER_TCR_P1_BYP_SEL_SHIFT |
| #define | SPI_FILTER_TCR_P1_BYP_SEL(x) |
| #define | SPI_FILTER_TCR_P1_BYP_EN_MASK |
| #define | SPI_FILTER_TCR_P1_BYP_EN_SHIFT |
| #define | SPI_FILTER_TCR_P1_BYP_EN(x) |
| #define | SPI_FILTER_TCR_P0_MFG_ID_MASK |
| #define | SPI_FILTER_TCR_P0_MFG_ID_SHIFT |
| #define | SPI_FILTER_TCR_P0_MFG_ID(x) |
| #define | SPI_FILTER_TCR_P1_MFG_ID_MASK |
| #define | SPI_FILTER_TCR_P1_MFG_ID_SHIFT |
| #define | SPI_FILTER_TCR_P1_MFG_ID(x) |
P0FAR1 - Port 0 filter address region 1 | |
| #define | SPI_FILTER_P0FAR1_ADDRESS_LOWER_LSBS_MASK |
| #define | SPI_FILTER_P0FAR1_ADDRESS_LOWER_LSBS_SHIFT |
| #define | SPI_FILTER_P0FAR1_ADDRESS_LOWER_LSBS(x) |
| #define | SPI_FILTER_P0FAR1_ADDRESS_LOWER_MSBS_MASK |
| #define | SPI_FILTER_P0FAR1_ADDRESS_LOWER_MSBS_SHIFT |
| #define | SPI_FILTER_P0FAR1_ADDRESS_LOWER_MSBS(x) |
| #define | SPI_FILTER_P0FAR1_ADDRESS_UPPER_LSBS_MASK |
| #define | SPI_FILTER_P0FAR1_ADDRESS_UPPER_LSBS_SHIFT |
| #define | SPI_FILTER_P0FAR1_ADDRESS_UPPER_LSBS(x) |
| #define | SPI_FILTER_P0FAR1_ADDRESS_UPPER_MSBS_MASK |
| #define | SPI_FILTER_P0FAR1_ADDRESS_UPPER_MSBS_SHIFT |
| #define | SPI_FILTER_P0FAR1_ADDRESS_UPPER_MSBS(x) |
P0FAR2 - Port 0 filter address region 2 | |
| #define | SPI_FILTER_P0FAR2_ADDRESS_LOWER_LSBS_MASK |
| #define | SPI_FILTER_P0FAR2_ADDRESS_LOWER_LSBS_SHIFT |
| #define | SPI_FILTER_P0FAR2_ADDRESS_LOWER_LSBS(x) |
| #define | SPI_FILTER_P0FAR2_ADDRESS_LOWER_MSBS_MASK |
| #define | SPI_FILTER_P0FAR2_ADDRESS_LOWER_MSBS_SHIFT |
| #define | SPI_FILTER_P0FAR2_ADDRESS_LOWER_MSBS(x) |
| #define | SPI_FILTER_P0FAR2_ADDRESS_UPPER_LSBS_MASK |
| #define | SPI_FILTER_P0FAR2_ADDRESS_UPPER_LSBS_SHIFT |
| #define | SPI_FILTER_P0FAR2_ADDRESS_UPPER_LSBS(x) |
| #define | SPI_FILTER_P0FAR2_ADDRESS_UPPER_MSBS_MASK |
| #define | SPI_FILTER_P0FAR2_ADDRESS_UPPER_MSBS_SHIFT |
| #define | SPI_FILTER_P0FAR2_ADDRESS_UPPER_MSBS(x) |
P0FAR3 - Port 0 filter address region 3 | |
| #define | SPI_FILTER_P0FAR3_ADDRESS_LOWER_LSBS_MASK |
| #define | SPI_FILTER_P0FAR3_ADDRESS_LOWER_LSBS_SHIFT |
| #define | SPI_FILTER_P0FAR3_ADDRESS_LOWER_LSBS(x) |
| #define | SPI_FILTER_P0FAR3_ADDRESS_LOWER_MSBS_MASK |
| #define | SPI_FILTER_P0FAR3_ADDRESS_LOWER_MSBS_SHIFT |
| #define | SPI_FILTER_P0FAR3_ADDRESS_LOWER_MSBS(x) |
| #define | SPI_FILTER_P0FAR3_ADDRESS_UPPER_LSBS_MASK |
| #define | SPI_FILTER_P0FAR3_ADDRESS_UPPER_LSBS_SHIFT |
| #define | SPI_FILTER_P0FAR3_ADDRESS_UPPER_LSBS(x) |
| #define | SPI_FILTER_P0FAR3_ADDRESS_UPPER_MSBS_MASK |
| #define | SPI_FILTER_P0FAR3_ADDRESS_UPPER_MSBS_SHIFT |
| #define | SPI_FILTER_P0FAR3_ADDRESS_UPPER_MSBS(x) |
P1FAR1 - Port 1 filter address region 1 | |
| #define | SPI_FILTER_P1FAR1_ADDRESS_LOWER_LSBS_MASK |
| #define | SPI_FILTER_P1FAR1_ADDRESS_LOWER_LSBS_SHIFT |
| #define | SPI_FILTER_P1FAR1_ADDRESS_LOWER_LSBS(x) |
| #define | SPI_FILTER_P1FAR1_ADDRESS_LOWER_MSBS_MASK |
| #define | SPI_FILTER_P1FAR1_ADDRESS_LOWER_MSBS_SHIFT |
| #define | SPI_FILTER_P1FAR1_ADDRESS_LOWER_MSBS(x) |
| #define | SPI_FILTER_P1FAR1_ADDRESS_UPPER_LSBS_MASK |
| #define | SPI_FILTER_P1FAR1_ADDRESS_UPPER_LSBS_SHIFT |
| #define | SPI_FILTER_P1FAR1_ADDRESS_UPPER_LSBS(x) |
| #define | SPI_FILTER_P1FAR1_ADDRESS_UPPER_MSBS_MASK |
| #define | SPI_FILTER_P1FAR1_ADDRESS_UPPER_MSBS_SHIFT |
| #define | SPI_FILTER_P1FAR1_ADDRESS_UPPER_MSBS(x) |
P1FAR2 - Port 1 filter address region 2 | |
| #define | SPI_FILTER_P1FAR2_ADDRESS_LOWER_LSBS_MASK |
| #define | SPI_FILTER_P1FAR2_ADDRESS_LOWER_LSBS_SHIFT |
| #define | SPI_FILTER_P1FAR2_ADDRESS_LOWER_LSBS(x) |
| #define | SPI_FILTER_P1FAR2_ADDRESS_LOWER_MSBS_MASK |
| #define | SPI_FILTER_P1FAR2_ADDRESS_LOWER_MSBS_SHIFT |
| #define | SPI_FILTER_P1FAR2_ADDRESS_LOWER_MSBS(x) |
| #define | SPI_FILTER_P1FAR2_ADDRESS_UPPER_LSBS_MASK |
| #define | SPI_FILTER_P1FAR2_ADDRESS_UPPER_LSBS_SHIFT |
| #define | SPI_FILTER_P1FAR2_ADDRESS_UPPER_LSBS(x) |
| #define | SPI_FILTER_P1FAR2_ADDRESS_UPPER_MSBS_MASK |
| #define | SPI_FILTER_P1FAR2_ADDRESS_UPPER_MSBS_SHIFT |
| #define | SPI_FILTER_P1FAR2_ADDRESS_UPPER_MSBS(x) |
P1FAR3 - Port 1 filter address region 3 | |
| #define | SPI_FILTER_P1FAR3_ADDRESS_LOWER_LSBS_MASK |
| #define | SPI_FILTER_P1FAR3_ADDRESS_LOWER_LSBS_SHIFT |
| #define | SPI_FILTER_P1FAR3_ADDRESS_LOWER_LSBS(x) |
| #define | SPI_FILTER_P1FAR3_ADDRESS_LOWER_MSBS_MASK |
| #define | SPI_FILTER_P1FAR3_ADDRESS_LOWER_MSBS_SHIFT |
| #define | SPI_FILTER_P1FAR3_ADDRESS_LOWER_MSBS(x) |
| #define | SPI_FILTER_P1FAR3_ADDRESS_UPPER_LSBS_MASK |
| #define | SPI_FILTER_P1FAR3_ADDRESS_UPPER_LSBS_SHIFT |
| #define | SPI_FILTER_P1FAR3_ADDRESS_UPPER_LSBS(x) |
| #define | SPI_FILTER_P1FAR3_ADDRESS_UPPER_MSBS_MASK |
| #define | SPI_FILTER_P1FAR3_ADDRESS_UPPER_MSBS_SHIFT |
| #define | SPI_FILTER_P1FAR3_ADDRESS_UPPER_MSBS(x) |
VER - Version | |
| #define | SPI_FILTER_VER_MINOR_REVISION_MASK |
| #define | SPI_FILTER_VER_MINOR_REVISION_SHIFT |
| #define | SPI_FILTER_VER_MINOR_REVISION(x) |
| #define | SPI_FILTER_VER_MAJOR_REVISION_MASK |
| #define | SPI_FILTER_VER_MAJOR_REVISION_SHIFT |
| #define | SPI_FILTER_VER_MAJOR_REVISION(x) |
POPCODE0 - Programmable OP-Code0 | |
| #define | SPI_FILTER_POPCODE0_FILTER_STATE0_MASK |
| #define | SPI_FILTER_POPCODE0_FILTER_STATE0_SHIFT |
| #define | SPI_FILTER_POPCODE0_FILTER_STATE0(x) |
| #define | SPI_FILTER_POPCODE0_FILTER_BIT0_MASK |
| #define | SPI_FILTER_POPCODE0_FILTER_BIT0_SHIFT |
| #define | SPI_FILTER_POPCODE0_FILTER_BIT0(x) |
| #define | SPI_FILTER_POPCODE0_PRG_OPCODE0_MASK |
| #define | SPI_FILTER_POPCODE0_PRG_OPCODE0_SHIFT |
| #define | SPI_FILTER_POPCODE0_PRG_OPCODE0(x) |
POPCODE1 - Programmable OP-Code1 | |
| #define | SPI_FILTER_POPCODE1_FILTER_STATE1_MASK |
| #define | SPI_FILTER_POPCODE1_FILTER_STATE1_SHIFT |
| #define | SPI_FILTER_POPCODE1_FILTER_STATE1(x) |
| #define | SPI_FILTER_POPCODE1_FILTER_BIT1_MASK |
| #define | SPI_FILTER_POPCODE1_FILTER_BIT1_SHIFT |
| #define | SPI_FILTER_POPCODE1_FILTER_BIT1(x) |
| #define | SPI_FILTER_POPCODE1_PRG_OPCODE1_MASK |
| #define | SPI_FILTER_POPCODE1_PRG_OPCODE1_SHIFT |
| #define | SPI_FILTER_POPCODE1_PRG_OPCODE1(x) |
POPCODE2 - Programmable OP-Code2 | |
| #define | SPI_FILTER_POPCODE2_FILTER_STATE2_MASK |
| #define | SPI_FILTER_POPCODE2_FILTER_STATE2_SHIFT |
| #define | SPI_FILTER_POPCODE2_FILTER_STATE2(x) |
| #define | SPI_FILTER_POPCODE2_FILTER_BIT2_MASK |
| #define | SPI_FILTER_POPCODE2_FILTER_BIT2_SHIFT |
| #define | SPI_FILTER_POPCODE2_FILTER_BIT2(x) |
| #define | SPI_FILTER_POPCODE2_PRG_OPCODE2_MASK |
| #define | SPI_FILTER_POPCODE2_PRG_OPCODE2_SHIFT |
| #define | SPI_FILTER_POPCODE2_PRG_OPCODE2(x) |
POPCODE3 - Programmable OP-Code3 | |
| #define | SPI_FILTER_POPCODE3_FILTER_STATE3_MASK |
| #define | SPI_FILTER_POPCODE3_FILTER_STATE3_SHIFT |
| #define | SPI_FILTER_POPCODE3_FILTER_STATE3(x) |
| #define | SPI_FILTER_POPCODE3_FILTER_BIT3_MASK |
| #define | SPI_FILTER_POPCODE3_FILTER_BIT3_SHIFT |
| #define | SPI_FILTER_POPCODE3_FILTER_BIT3(x) |
| #define | SPI_FILTER_POPCODE3_PRG_OPCODE3_MASK |
| #define | SPI_FILTER_POPCODE3_PRG_OPCODE3_SHIFT |
| #define | SPI_FILTER_POPCODE3_PRG_OPCODE3(x) |
POPCODE4 - Programmable OP-Code4 | |
| #define | SPI_FILTER_POPCODE4_FILTER_STATE4_MASK |
| #define | SPI_FILTER_POPCODE4_FILTER_STATE4_SHIFT |
| #define | SPI_FILTER_POPCODE4_FILTER_STATE4(x) |
| #define | SPI_FILTER_POPCODE4_FILTER_BIT4_MASK |
| #define | SPI_FILTER_POPCODE4_FILTER_BIT4_SHIFT |
| #define | SPI_FILTER_POPCODE4_FILTER_BIT4(x) |
| #define | SPI_FILTER_POPCODE4_PRG_OPCODE4_MASK |
| #define | SPI_FILTER_POPCODE4_PRG_OPCODE4_SHIFT |
| #define | SPI_FILTER_POPCODE4_PRG_OPCODE4(x) |
P0BOC - P0 Blocked Op Code | |
| #define | SPI_FILTER_P0BOC_P0BOC_MASK |
| #define | SPI_FILTER_P0BOC_P0BOC_SHIFT |
| #define | SPI_FILTER_P0BOC_P0BOC(x) |
P1BOC - P1 Blocked Op Code | |
| #define | SPI_FILTER_P1BOC_P1BOC_MASK |
| #define | SPI_FILTER_P1BOC_P1BOC_SHIFT |
| #define | SPI_FILTER_P1BOC_P1BOC(x) |
P0MAM - Port 0 Max Address Mask | |
| #define | SPI_FILTER_P0MAM_P0MAML_MASK |
| #define | SPI_FILTER_P0MAM_P0MAML_SHIFT |
| #define | SPI_FILTER_P0MAM_P0MAML(x) |
| #define | SPI_FILTER_P0MAM_P0MAMM_MASK |
| #define | SPI_FILTER_P0MAM_P0MAMM_SHIFT |
| #define | SPI_FILTER_P0MAM_P0MAMM(x) |
P1MAM - Port 1 Max Address Mask | |
| #define | SPI_FILTER_P1MAM_P1MAML_MASK |
| #define | SPI_FILTER_P1MAM_P1MAML_SHIFT |
| #define | SPI_FILTER_P1MAM_P1MAML(x) |
| #define | SPI_FILTER_P1MAM_P1MAMM_MASK |
| #define | SPI_FILTER_P1MAM_P1MAMM_SHIFT |
| #define | SPI_FILTER_P1MAM_P1MAMM(x) |
| #define SPI_FILTER_CR_P1_ACT_SEL | ( | x | ) |
P1_ACT_SEL - Active Chip Select for P1 filter 0b0..Sets CS0 as the read location for the firmware image and sets CS1 as the write location for the FW image. 0b1..Sets CS1 as the read location for the firmware image and sets CS0 as the write location for the FW image.
| #define SPI_FILTER_CR_P1_BYTE_SEL | ( | x | ) |
P1_BYTE_SEL - Address Byte Select Mode for P1 0b0..Sets the filter to 4-byte address mode 0b1..Sets the filter to 3-byte address mode
| #define SPI_FILTER_CR_P1_BYTE_SEL_MD | ( | x | ) |
P1_BYTE_SEL_MD - Address Byte Select Mode for P1 0b0..Normal Operation. The Address byte mode is determined by the Op Code Command 0b1..Sets the Byte Mode to 3-byte and gives control of the function to the P1_BYTE_SEL in the P1 Filter Control Register. In this mode, any changes to P1_BYTE_SEL are latched and the internal state of P1_BYTE_SEL will retain this value when P1_BYTE_SEL_MD is cleared
| #define SPI_FILTER_CR_P1_DIRTY_CLR | ( | x | ) |
P1_DIRTY_CLR - Clear dirty state for P1
| #define SPI_FILTER_CR_P1_FLT_EN | ( | x | ) |
P1_FLT_EN - Filter Enable bit for P1 filter 0b0..Filter Disabled. All CS Disable outputs are asserted so that host access to the flash devices is disabled. CS# inputs to the filter are disabled so that the filter state machine is locked in its current state. All register controls remain functional. 0b1..Filter Enabled. CS# inputs to the filter are enabled and the filter state machine controls the CS disable outputs. This bit takes priority over the P1_BYP_EN bit in the Test Control Register. Setting this bit will enable filtering and will enable communication to flash devices regardless of the state of P1_BYP_EN. All other register controls remain functional while filtering is enabled.
| #define SPI_FILTER_CR_P1_FLASH_MD | ( | x | ) |
P1_FLASH_MD - Flash Mode Select for P1 0b0..Dual Flash Mode. Supports two separate physical flash devices as described in Section 3.1 0b1..Single Flash Mode. Supports a single physical flash device as described in Section 3.2. Note that all Chip Erase Op Codes are blocked when in this mode.
| #define SPI_FILTER_CR_P0_ACT_SEL | ( | x | ) |
P0_ACT_SEL - Active Chip Select for P0 filter 0b0..Sets CS0 as the read location for the firmware image and sets CS1 as the write location for the FW image. 0b1..Sets CS1 as the read location for the firmware image and sets CS0 as the write location for the FW image.
| #define SPI_FILTER_CR_P0_BYTE_SEL | ( | x | ) |
P0_BYTE_SEL - Address Byte Select for P0 filter 0b0..Sets the filter to 3-byte address mode 0b1..Sets the filter to 4-byte address mode
| #define SPI_FILTER_CR_P0_BYTE_SEL_MD | ( | x | ) |
P0_BYTE_SEL_MD - Address Byte Select Mode for P0 filter 0b0..Normal Operation. The Address byte mode is determined by the Op Code Command 0b1..Sets the Byte Mode to 3-byte and gives control of the function to the P0_BYTE_SEL in the P0 Filter Control Register. In this mode, any changes to P0_BYTE_SEL are latched and the internal state of BYTE_SEL will retain this value when P0_BYTE_SEL_MD is cleared.
| #define SPI_FILTER_CR_P0_DIRTY_CLR | ( | x | ) |
P0_DIRTY_CLR - Clear dirty state for P0
| #define SPI_FILTER_CR_P0_FLT_EN | ( | x | ) |
P0_FLT_EN - Filter Enable bit for P0 0b0..Filter Enabled. CS# inputs to the filter are enabled and the filter state machine controls the CS disable outputs. CS# inputs to the filter are enabled so that the filter state machine is active. All other register controls are functional. 0b1..Filter Disabled. All CS Disable outputs are asserted so that host access to the flash devices is disabled. CS# inputs to the filter are disabled so that the filter state machine is locked in its current state. All other register controls can be accessed, but have no impact on the functionality of the filter while the filter is disabled.
| #define SPI_FILTER_CR_P0_FLASH_MD | ( | x | ) |
P0_FLASH_MD - Flash Mode Select for P0 0b0..Dual Flash Mode. Supports two separate physical flash devices as described in Section 3.1 0b1..Single Flash Mode. Supports a single physical flash device as described in Section 3.2. Note that all Chip Erase Op Codes are blocked when in this mode.
| #define SPI_FILTER_ISR_P0_DIRTY_INT | ( | x | ) |
P0_DIRTY_INT 0b0..Indicates normal operation 0b1..Indicates that a write has occurred to the FW Code region of the inactive Flash and that flash is now considered corrupt
| #define SPI_FILTER_ISR_P1_DIRTY_INT | ( | x | ) |
P1_DIRTY_INT 0b0..Indicates normal operation 0b1..Indicates that a write has occurred to the FW Code region of the inactive Flash and that flash is now considered corrupt
| #define SPI_FILTER_ISR_P0_BLK_INT | ( | x | ) |
P0_BLK_INT 0b0..Indicates normal operation 0b1..Indicates that a blocked opcode has been detected
| #define SPI_FILTER_ISR_P1_BLK_INT | ( | x | ) |
P1_BLK_INT 0b0..Indicates normal operation 0b1..Indicates that a blocked opcode has been detected
| #define SPI_FILTER_ISR_P0_BYTEMODE_INT | ( | x | ) |
P0_BYTEMODE_INT 0b0..Indicates normal operation 0b1..Indicates that a Bytemode change has been detected (OpCode E9 or B7)
| #define SPI_FILTER_ISR_P1_BYTEMODE_INT | ( | x | ) |
P1_BYTEMODE_INT 0b0..Indicates normal operation 0b1..Indicates that a Bytemode change has been detected (OpCode E9 or B7)
| #define SPI_FILTER_ISR_P0_F8_INT | ( | x | ) |
P0_F8_INT 0b0..Indicates normal operation 0b1..Indicates an F8 command has been detected
| #define SPI_FILTER_ISR_P1_F8_INT | ( | x | ) |
P1_F8_INT 0b0..Indicates normal operation 0b1..Indicates an F8 command has been detected
| #define SPI_FILTER_IMR_P0_DIRTY_MASK | ( | x | ) |
P0_DIRTY_MASK - Mask bit for P0_DIRTY_INT 0b0..Indicates P0_DIRTY_INT interrupt is disabled. 0b1..Indicates P0_DIRTY_INT interrupt is enabled.
| #define SPI_FILTER_IMR_P1_DIRTY_MASK | ( | x | ) |
P1_DIRTY_MASK - Mask bit for P1_DIRTY_INT 0b0..Indicates normal operation. P1_DIRTY_INT interrupt is enabled. 0b1..Indicates P1_DIRTY_INT interrupt is disabled.
| #define SPI_FILTER_IMR_P0_BLK_MASK | ( | x | ) |
P0_BLK_MASK - Mask bit for P0_BLK_MASK 0b0..Indicates P0_BLK_MASK is enabled. 0b1..Indicates P0_BLK_MASK is disabled.
| #define SPI_FILTER_IMR_P1_BLK_MASK | ( | x | ) |
P1_BLK_MASK - Mask bit for P1_BLK_MASK 0b0..Indicates P1_BLK_MASK is enabled. 0b1..Indicates P1_BLK_MASK is disabled.
| #define SPI_FILTER_IMR_P0_BYTEMODE_MASK | ( | x | ) |
P0_BYTEMODE_MASK - Mask bit for P0_BYTEMODE_MASK 0b0..Indicates P0_BYTEMODE_MASK is enabled. 0b1..Indicates P0_BYTEMODE_MASK is disabled.
| #define SPI_FILTER_IMR_P1_BYTEMODE_MASK | ( | x | ) |
P1_BYTEMODE_MASK - Mask bit for P1_BYTEMODE_MASK 0b0..Indicates P1_BYTEMODE_MASK is enabled. 0b1..Indicates P1_BYTEMODE_MASK is disabled.
| #define SPI_FILTER_IMR_P0_F8_MASK | ( | x | ) |
P0_F8_MASK - Mask bit for P0_F8_MASK 0b0..Indicates P0_F8_MASK is enabled. 0b1..Indicates P0_F8_MASK is disabled.
| #define SPI_FILTER_IMR_P1_F8_MASK | ( | x | ) |
P1_F8_MASK - Mask bit for P1_F8_MASK 0b0..Indicates P1_F8_MASK is enabled. 0b1..Indicates P1_F8_MASK is disabled.
| #define SPI_FILTER_SR_P1_DIRTY | ( | x | ) |
P1_DIRTY 0b0..Indicates normal operation. No Writes have been directed to the inactive Flash 0b1..Indicates that a write to the inactive Flash has been detected and the state of the flash should be considered "dirty".
| #define SPI_FILTER_SR_P1_BYTE_MODE | ( | x | ) |
P1_BYTE_MODE 0b0..3-Byte Address Mode 0b1..4-Byte Address Mode
| #define SPI_FILTER_SR_P0_DIRTY | ( | x | ) |
P0_DIRTY 0b0..Indicates normal operation. No Writes have been directed to the inactive Flash 0b1..Indicates that a write to the inactive Flash has been detected and the state of the flash should be considered "dirty".
| #define SPI_FILTER_SR_P0_BYTE_MODE | ( | x | ) |
P0_BYTE_MODE 0b0..3-Byte Address Mode 0b1..4-Byte Address Mode
| #define SPI_FILTER_TCR_P0_BYP_SEL | ( | x | ) |
P0_BYP_SEL 0b0..CS0 0b1..CS1
| #define SPI_FILTER_TCR_P0_BYP_EN | ( | x | ) |
P0_BYP_EN 0b0..Filter Bypass Disabled 0b1..Filter Bypass Enabled
| #define SPI_FILTER_TCR_P1_BYP_SEL | ( | x | ) |
P1_BYP_SEL 0b0..CS0 0b1..CS1
| #define SPI_FILTER_TCR_P1_BYP_EN | ( | x | ) |
P1_BYP_EN 0b0..Filter Bypass Disabled 0b1..Filter Bypass Enabled
| #define SPI_FILTER_TCR_P0_MFG_ID | ( | x | ) |
P0_MFG_ID - Sets the Flash memory manufacturer 0b0010..Micron 0b0001..Windbond 0b0000..Macronix
| #define SPI_FILTER_TCR_P1_MFG_ID | ( | x | ) |
P1_MFG_ID - Sets the Flash memory manufacturer 0b0010..Micron 0b0001..Windbond 0b0000..Macronix
| #define SPI_FILTER_P0FAR1_ADDRESS_LOWER_LSBS | ( | x | ) |
ADDRESS_LOWER_LSBS - Address Lower LSBs
| #define SPI_FILTER_P0FAR1_ADDRESS_LOWER_MSBS | ( | x | ) |
ADDRESS_LOWER_MSBS - Address Lower MSBs
| #define SPI_FILTER_P0FAR1_ADDRESS_UPPER_LSBS | ( | x | ) |
ADDRESS_UPPER_LSBS - Address Upper LSBs
| #define SPI_FILTER_P0FAR1_ADDRESS_UPPER_MSBS | ( | x | ) |
ADDRESS_UPPER_MSBS - Address Upper MSBs
| #define SPI_FILTER_P0FAR2_ADDRESS_LOWER_LSBS | ( | x | ) |
ADDRESS_LOWER_LSBS - Address Lower LSBs
| #define SPI_FILTER_P0FAR2_ADDRESS_LOWER_MSBS | ( | x | ) |
ADDRESS_LOWER_MSBS - Address Lower MSBs
| #define SPI_FILTER_P0FAR2_ADDRESS_UPPER_LSBS | ( | x | ) |
ADDRESS_UPPER_LSBS - Address Upper LSBs
| #define SPI_FILTER_P0FAR2_ADDRESS_UPPER_MSBS | ( | x | ) |
ADDRESS_UPPER_MSBS - Address Upper MSBs
| #define SPI_FILTER_P0FAR3_ADDRESS_LOWER_LSBS | ( | x | ) |
ADDRESS_LOWER_LSBS - Address Lower LSBs
| #define SPI_FILTER_P0FAR3_ADDRESS_LOWER_MSBS | ( | x | ) |
ADDRESS_LOWER_MSBS - Address Lower MSBs
| #define SPI_FILTER_P0FAR3_ADDRESS_UPPER_LSBS | ( | x | ) |
ADDRESS_UPPER_LSBS - Address Upper LSBs
| #define SPI_FILTER_P0FAR3_ADDRESS_UPPER_MSBS | ( | x | ) |
ADDRESS_UPPER_MSBS - Address Upper MSBs
| #define SPI_FILTER_P1FAR1_ADDRESS_LOWER_LSBS | ( | x | ) |
ADDRESS_LOWER_LSBS - Address Lower LSBs
| #define SPI_FILTER_P1FAR1_ADDRESS_LOWER_MSBS | ( | x | ) |
ADDRESS_LOWER_MSBS - Address Lower MSBs
| #define SPI_FILTER_P1FAR1_ADDRESS_UPPER_LSBS | ( | x | ) |
ADDRESS_UPPER_LSBS - Address Upper LSBs
| #define SPI_FILTER_P1FAR1_ADDRESS_UPPER_MSBS | ( | x | ) |
ADDRESS_UPPER_MSBS - Address Upper MSBs
| #define SPI_FILTER_P1FAR2_ADDRESS_LOWER_LSBS | ( | x | ) |
ADDRESS_LOWER_LSBS - Address Lower LSBs
| #define SPI_FILTER_P1FAR2_ADDRESS_LOWER_MSBS | ( | x | ) |
ADDRESS_LOWER_MSBS - Address Lower MSBs
| #define SPI_FILTER_P1FAR2_ADDRESS_UPPER_LSBS | ( | x | ) |
ADDRESS_UPPER_LSBS - Address Upper LSBs
| #define SPI_FILTER_P1FAR2_ADDRESS_UPPER_MSBS | ( | x | ) |
ADDRESS_UPPER_MSBS - Address Upper MSBs
| #define SPI_FILTER_P1FAR3_ADDRESS_LOWER_LSBS | ( | x | ) |
ADDRESS_LOWER_LSBS - Address Lower LSBs
| #define SPI_FILTER_P1FAR3_ADDRESS_LOWER_MSBS | ( | x | ) |
ADDRESS_LOWER_MSBS - Address Lower MSBs
| #define SPI_FILTER_P1FAR3_ADDRESS_UPPER_LSBS | ( | x | ) |
ADDRESS_UPPER_LSBS - Address Upper LSBs
| #define SPI_FILTER_P1FAR3_ADDRESS_UPPER_MSBS | ( | x | ) |
ADDRESS_UPPER_MSBS - Address Upper MSBs
| #define SPI_FILTER_VER_MINOR_REVISION | ( | x | ) |
MINOR_REVISION - Minor revision
| #define SPI_FILTER_VER_MAJOR_REVISION | ( | x | ) |
MAJOR_REVISION - Major Revision
| #define SPI_FILTER_POPCODE0_FILTER_STATE0 | ( | x | ) |
FILTER_STATE0 - Programmable Filter state 0
| #define SPI_FILTER_POPCODE0_FILTER_BIT0 | ( | x | ) |
FILTER_BIT0 0b0..Filter after 7th bit for all Commands Op Codes that need to be filtered. 0b1..Filter after 8th bit for all Read/Write Op Codes that are filtered based on the address.
| #define SPI_FILTER_POPCODE0_PRG_OPCODE0 | ( | x | ) |
PRG_OPCODE0 - Programmable OP Code 0
| #define SPI_FILTER_POPCODE1_FILTER_STATE1 | ( | x | ) |
FILTER_STATE1 - Programmable Filter state 1
| #define SPI_FILTER_POPCODE1_FILTER_BIT1 | ( | x | ) |
FILTER_BIT1 0b0..Filter after 7th bit for all Commands Op Codes that need to be filtered. 0b1..Filter after 8th bit for all Read/Write Op Codes that are filtered based on the address.
| #define SPI_FILTER_POPCODE1_PRG_OPCODE1 | ( | x | ) |
PRG_OPCODE1 - Programmable OP Code 1
| #define SPI_FILTER_POPCODE2_FILTER_STATE2 | ( | x | ) |
FILTER_STATE2 - Programmable Filter state 2
| #define SPI_FILTER_POPCODE2_FILTER_BIT2 | ( | x | ) |
FILTER_BIT2 0b0..Filter after 7th bit for all Commands Op Codes that need to be filtered. 0b1..Filter after 8th bit for all Read/Write Op Codes that are filtered based on the address.
| #define SPI_FILTER_POPCODE2_PRG_OPCODE2 | ( | x | ) |
PRG_OPCODE2 - Programmable OP Code 0
| #define SPI_FILTER_POPCODE3_FILTER_STATE3 | ( | x | ) |
FILTER_STATE3 - Programmable Filter state 3
| #define SPI_FILTER_POPCODE3_FILTER_BIT3 | ( | x | ) |
FILTER_BIT3 0b0..Filter after 7th bit for all Commands Op Codes that need to be filtered. 0b1..Filter after 8th bit for all Read/Write Op Codes that are filtered based on the address.
| #define SPI_FILTER_POPCODE3_PRG_OPCODE3 | ( | x | ) |
PRG_OPCODE3 - Programmable OP Code 3
| #define SPI_FILTER_POPCODE4_FILTER_STATE4 | ( | x | ) |
FILTER_STATE4 - Programmable Filter state 4
| #define SPI_FILTER_POPCODE4_FILTER_BIT4 | ( | x | ) |
FILTER_BIT4 0b0..Filter after 7th bit for all Commands Op Codes that need to be filtered. 0b1..Filter after 8th bit for all Read/Write Op Codes that are filtered based on the address.
| #define SPI_FILTER_POPCODE4_PRG_OPCODE4 | ( | x | ) |
PRG_OPCODE4 - Programmable OP Code 4
| #define SPI_FILTER_P0BOC_P0BOC | ( | x | ) |
P0BOC - Port 0 Blocked Op Code
| #define SPI_FILTER_P1BOC_P1BOC | ( | x | ) |
P1BOC - Port 1 Blocked Op Code
| #define SPI_FILTER_P0MAM_P0MAML | ( | x | ) |
P0MAML - Port 0 Max Address Mask LSB
| #define SPI_FILTER_P0MAM_P0MAMM | ( | x | ) |
P0MAMM - Port 0 Max Address Mask MSB
| #define SPI_FILTER_P1MAM_P1MAML | ( | x | ) |
P1MAML - Port 1 Max Address Mask LSB
| #define SPI_FILTER_P1MAM_P1MAMM | ( | x | ) |
P1MAMM - Port 1 Max Address Mask MSB