diff --git a/cores/arduino/stm32/OpenAMP/libmetal/generic/cortexm/sys.c b/cores/arduino/stm32/OpenAMP/libmetal/generic/cortexm/sys.c index 83f98dd29f..b0a7591464 100644 --- a/cores/arduino/stm32/OpenAMP/libmetal/generic/cortexm/sys.c +++ b/cores/arduino/stm32/OpenAMP/libmetal/generic/cortexm/sys.c @@ -1,5 +1,5 @@ #ifdef VIRTIOCON -#include "libmetal/lib/system/generic/cortexm/sys.c" +#include "libmetal/lib/system/generic/template/sys.c" #endif /* VIRTIOCON */ diff --git a/cores/arduino/stm32/OpenAMP/openamp.c b/cores/arduino/stm32/OpenAMP/openamp.c index a0cb64e660..351026d7ad 100644 --- a/cores/arduino/stm32/OpenAMP/openamp.c +++ b/cores/arduino/stm32/OpenAMP/openamp.c @@ -164,16 +164,6 @@ void OPENAMP_DeInit() metal_finish(); } -/** - * @brief Initialize the endpoint struct - * - * @param ept: virtio rpmsg endpoint - */ -void OPENAMP_init_ept(struct rpmsg_endpoint *ept) -{ - rpmsg_init_ept(ept, "", RPMSG_ADDR_ANY, RPMSG_ADDR_ANY, NULL, NULL); -} - /** * @brief Create and register the name service endpoint * diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus_ex.c index 4f20c0c778..05b85a93b8 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus_ex.c @@ -14,6 +14,8 @@ #include "stm32l4xx_hal_smbus_ex.c" #elif STM32L5xx #include "stm32l5xx_hal_smbus_ex.c" +#elif STM32MP1xx + #include "stm32mp1xx_hal_smbus_ex.c" #elif STM32U5xx #include "stm32u5xx_hal_smbus_ex.c" #elif STM32WBxx diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_ca7.h index 370d79fc23..072b033d6b 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_ca7.h @@ -10713,16 +10713,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10774,9 +10777,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -10879,10 +10887,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -10962,6 +10981,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11123,9 +11145,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11692,10 +11717,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12134,7 +12161,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -14837,9 +14864,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -14860,12 +14888,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -14898,12 +14926,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -22841,6 +22869,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_cm4.h index 34188e0fbe..361add47f6 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151axx_cm4.h @@ -10679,16 +10679,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10740,9 +10743,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -10845,10 +10853,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -10928,6 +10947,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11089,9 +11111,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11658,10 +11683,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12100,7 +12127,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -14803,9 +14830,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -14826,12 +14854,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -14864,12 +14892,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -22807,6 +22835,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_ca7.h index 30b37c83e1..5e42245f2a 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_ca7.h @@ -10910,16 +10910,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10971,9 +10974,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -11076,10 +11084,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -11159,6 +11178,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11320,9 +11342,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11889,10 +11914,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12331,7 +12358,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -15034,9 +15061,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -15057,12 +15085,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -15095,12 +15123,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -23038,6 +23066,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_cm4.h index b3561409ab..55c61fa1d0 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151cxx_cm4.h @@ -10876,16 +10876,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10937,9 +10940,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -11042,10 +11050,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -11125,6 +11144,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11286,9 +11308,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11855,10 +11880,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12297,7 +12324,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -15000,9 +15027,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -15023,12 +15051,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -15061,12 +15089,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -23004,6 +23032,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_ca7.h index 223c36c325..190417e0c7 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_ca7.h @@ -10713,16 +10713,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10774,9 +10777,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -10879,10 +10887,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -10962,6 +10981,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11123,9 +11145,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11692,10 +11717,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12134,7 +12161,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -14837,9 +14864,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -14860,12 +14888,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -14898,12 +14926,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -22841,6 +22869,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_cm4.h index 144c8571d1..62d1c57923 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151dxx_cm4.h @@ -10679,16 +10679,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10740,9 +10743,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -10845,10 +10853,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -10928,6 +10947,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11089,9 +11111,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11658,10 +11683,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12100,7 +12127,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -14803,9 +14830,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -14826,12 +14854,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -14864,12 +14892,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -22807,6 +22835,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_ca7.h index de488f42ff..8fef3b75dc 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_ca7.h @@ -10910,16 +10910,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10971,9 +10974,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -11076,10 +11084,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -11159,6 +11178,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11320,9 +11342,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11889,10 +11914,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12331,7 +12358,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -15034,9 +15061,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -15057,12 +15085,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -15095,12 +15123,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -23038,6 +23066,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_cm4.h index c82e99f399..2f0cd48019 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp151fxx_cm4.h @@ -10876,16 +10876,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -10937,9 +10940,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -11042,10 +11050,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -11125,6 +11144,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -11286,9 +11308,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -11855,10 +11880,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -12297,7 +12324,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -15000,9 +15027,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -15023,12 +15051,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -15061,12 +15089,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -23004,6 +23032,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_ca7.h index 7432828197..b19da6d580 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_ca7.h @@ -12264,16 +12264,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12325,9 +12328,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12430,10 +12438,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12513,6 +12532,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12674,9 +12696,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13243,10 +13268,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13685,7 +13712,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16388,9 +16415,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16411,12 +16439,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16449,12 +16477,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24392,6 +24420,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_cm4.h index ca7951989b..db1b9d82dc 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153axx_cm4.h @@ -12230,16 +12230,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12291,9 +12294,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12396,10 +12404,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12479,6 +12498,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12640,9 +12662,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13209,10 +13234,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13651,7 +13678,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16354,9 +16381,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16377,12 +16405,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16415,12 +16443,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24358,6 +24386,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_ca7.h index c6c1c09e0e..b07db7e23b 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_ca7.h @@ -12461,16 +12461,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12522,9 +12525,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12627,10 +12635,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12710,6 +12729,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12871,9 +12893,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13440,10 +13465,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13882,7 +13909,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16585,9 +16612,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16608,12 +16636,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16646,12 +16674,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24589,6 +24617,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_cm4.h index e08d574871..981371e803 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153cxx_cm4.h @@ -12427,16 +12427,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12488,9 +12491,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12593,10 +12601,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12676,6 +12695,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12837,9 +12859,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13406,10 +13431,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13848,7 +13875,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16551,9 +16578,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16574,12 +16602,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16612,12 +16640,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24555,6 +24583,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_ca7.h index 4991cd1f7b..7b02d32155 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_ca7.h @@ -12264,16 +12264,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12325,9 +12328,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12430,10 +12438,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12513,6 +12532,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12674,9 +12696,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13243,10 +13268,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13685,7 +13712,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16388,9 +16415,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16411,12 +16439,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16449,12 +16477,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24392,6 +24420,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_cm4.h index 5ae2999ab8..5253c4e723 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153dxx_cm4.h @@ -12230,16 +12230,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12291,9 +12294,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12396,10 +12404,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12479,6 +12498,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12640,9 +12662,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13209,10 +13234,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13651,7 +13678,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16354,9 +16381,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16377,12 +16405,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16415,12 +16443,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24358,6 +24386,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_ca7.h index fd748e59cb..b8f727415b 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_ca7.h @@ -12461,16 +12461,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12522,9 +12525,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12627,10 +12635,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12710,6 +12729,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12871,9 +12893,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13440,10 +13465,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13882,7 +13909,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16585,9 +16612,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16608,12 +16636,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16646,12 +16674,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24589,6 +24617,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_cm4.h index a1a93a543d..f2fbefcd3c 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp153fxx_cm4.h @@ -12427,16 +12427,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12488,9 +12491,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12593,10 +12601,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12676,6 +12695,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12837,9 +12859,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13406,10 +13431,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13848,7 +13875,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16551,9 +16578,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16574,12 +16602,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16612,12 +16640,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -24555,6 +24583,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_ca7.h index 0ddf5ab012..a4799ba120 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_ca7.h @@ -12379,16 +12379,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12440,9 +12443,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12545,10 +12553,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12628,6 +12647,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12789,9 +12811,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13358,10 +13383,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13800,7 +13827,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16503,9 +16530,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16526,12 +16554,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16564,12 +16592,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25615,6 +25643,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_cm4.h index 65eabb4c16..dff41df86c 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157axx_cm4.h @@ -12345,16 +12345,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12406,9 +12409,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12511,10 +12519,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12594,6 +12613,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12755,9 +12777,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13324,10 +13349,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13766,7 +13793,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16469,9 +16496,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16492,12 +16520,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16530,12 +16558,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25581,6 +25609,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_ca7.h index 0a4be66a43..037be04358 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_ca7.h @@ -12576,16 +12576,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12637,9 +12640,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12742,10 +12750,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12825,6 +12844,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12986,9 +13008,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13555,10 +13580,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13997,7 +14024,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16700,9 +16727,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16723,12 +16751,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16761,12 +16789,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25812,6 +25840,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_cm4.h index 376c30be89..cfe0c83387 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157cxx_cm4.h @@ -12542,16 +12542,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12603,9 +12606,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12708,10 +12716,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12791,6 +12810,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12952,9 +12974,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13521,10 +13546,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13963,7 +13990,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16666,9 +16693,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16689,12 +16717,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16727,12 +16755,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25778,6 +25806,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_ca7.h index c35c98c4d6..05f51c2a88 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_ca7.h @@ -12379,16 +12379,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12440,9 +12443,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12545,10 +12553,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12628,6 +12647,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12789,9 +12811,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13358,10 +13383,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13800,7 +13827,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16503,9 +16530,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16526,12 +16554,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16564,12 +16592,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25615,6 +25643,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_cm4.h index 72c43c43dd..85f876e606 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157dxx_cm4.h @@ -12345,16 +12345,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12406,9 +12409,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12511,10 +12519,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12594,6 +12613,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12755,9 +12777,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13324,10 +13349,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13766,7 +13793,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16469,9 +16496,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16492,12 +16520,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16530,12 +16558,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25581,6 +25609,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_ca7.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_ca7.h index deae8cd2b3..ee44fd108f 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_ca7.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_ca7.h @@ -12576,16 +12576,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12637,9 +12640,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12742,10 +12750,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12825,6 +12844,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12986,9 +13008,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13555,10 +13580,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13997,7 +14024,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16700,9 +16727,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16723,12 +16751,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16761,12 +16789,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25812,6 +25840,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_cm4.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_cm4.h index a6a9a88129..1524be361a 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_cm4.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp157fxx_cm4.h @@ -12542,16 +12542,19 @@ typedef struct #define ETH_MACCR_PRELEN_Pos (2U) #define ETH_MACCR_PRELEN_Msk (0x3UL << ETH_MACCR_PRELEN_Pos) /*!< 0x0000000C */ #define ETH_MACCR_PRELEN ETH_MACCR_PRELEN_Msk /*!< Preamble Length for Transmit packets */ -#define ETH_MACCR_PRELEN_0 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ -#define ETH_MACCR_PRELEN_1 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000008 */ +#define ETH_MACCR_PRELEN_7 (0x0UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_PRELEN_5 (0x1UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000004 */ +#define ETH_MACCR_PRELEN_3 (0x2UL << ETH_MACCR_PRELEN_Pos) /*!< 0x00000006 */ #define ETH_MACCR_DC_Pos (4U) #define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos) /*!< 0x00000010 */ #define ETH_MACCR_DC ETH_MACCR_DC_Msk /*!< Deferral Check */ #define ETH_MACCR_BL_Pos (5U) #define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_BL ETH_MACCR_BL_Msk /*!< Back-Off Limit */ -#define ETH_MACCR_BL_0 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ -#define ETH_MACCR_BL_1 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_10 (0x0UL << ETH_MACCR_BL_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_BL_8 (0x1UL << ETH_MACCR_BL_Pos) /*!< 0x00000020 */ +#define ETH_MACCR_BL_4 (0x2UL << ETH_MACCR_BL_Pos) /*!< 0x00000040 */ +#define ETH_MACCR_BL_1 (0x3UL << ETH_MACCR_BL_Pos) /*!< 0x00000060 */ #define ETH_MACCR_DR_Pos (8U) #define ETH_MACCR_DR_Msk (0x1UL << ETH_MACCR_DR_Pos) /*!< 0x00000100 */ #define ETH_MACCR_DR ETH_MACCR_DR_Msk /*!< Disable Retry */ @@ -12603,9 +12606,14 @@ typedef struct #define ETH_MACCR_IPG_Pos (24U) #define ETH_MACCR_IPG_Msk (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPG ETH_MACCR_IPG_Msk /*!< Inter-Packet Gap */ -#define ETH_MACCR_IPG_0 (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ -#define ETH_MACCR_IPG_1 (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ -#define ETH_MACCR_IPG_2 (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_96BIT (0x0UL << ETH_MACCR_IPG_Pos) /*!< 0x00000000 */ +#define ETH_MACCR_IPG_88BIT (0x1UL << ETH_MACCR_IPG_Pos) /*!< 0x01000000 */ +#define ETH_MACCR_IPG_80BIT (0x2UL << ETH_MACCR_IPG_Pos) /*!< 0x02000000 */ +#define ETH_MACCR_IPG_72BIT (0x3UL << ETH_MACCR_IPG_Pos) /*!< 0x03000000 */ +#define ETH_MACCR_IPG_64BIT (0x4UL << ETH_MACCR_IPG_Pos) /*!< 0x04000000 */ +#define ETH_MACCR_IPG_56BIT (0x5UL << ETH_MACCR_IPG_Pos) /*!< 0x05000000 */ +#define ETH_MACCR_IPG_48BIT (0x6UL << ETH_MACCR_IPG_Pos) /*!< 0x06000000 */ +#define ETH_MACCR_IPG_40BIT (0x7UL << ETH_MACCR_IPG_Pos) /*!< 0x07000000 */ #define ETH_MACCR_IPC_Pos (27U) #define ETH_MACCR_IPC_Msk (0x1UL << ETH_MACCR_IPC_Pos) /*!< 0x08000000 */ #define ETH_MACCR_IPC ETH_MACCR_IPC_Msk /*!< Checksum Offload */ @@ -12708,10 +12716,21 @@ typedef struct #define ETH_MACWTR_WTO_Pos (0U) #define ETH_MACWTR_WTO_Msk (0xFUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000F */ #define ETH_MACWTR_WTO ETH_MACWTR_WTO_Msk /*!< Watchdog Timeout */ -#define ETH_MACWTR_WTO_0 (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ -#define ETH_MACWTR_WTO_1 (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ -#define ETH_MACWTR_WTO_2 (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ -#define ETH_MACWTR_WTO_3 (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_2KB (0x0UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_3KB (0x1UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000001 */ +#define ETH_MACWTR_WTO_4KB (0x2UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000002 */ +#define ETH_MACWTR_WTO_5KB (0x3UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000003 */ +#define ETH_MACWTR_WTO_6KB (0x4UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000004 */ +#define ETH_MACWTR_WTO_7KB (0x5UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000005 */ +#define ETH_MACWTR_WTO_8KB (0x6UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000006 */ +#define ETH_MACWTR_WTO_9KB (0x7UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000007 */ +#define ETH_MACWTR_WTO_10KB (0x8UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000008 */ +#define ETH_MACWTR_WTO_11KB (0x9UL << ETH_MACWTR_WTO_Pos) /*!< 0x00000009 */ +#define ETH_MACWTR_WTO_12KB (0xAUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000A */ +#define ETH_MACWTR_WTO_13KB (0xBUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000B */ +#define ETH_MACWTR_WTO_14KB (0xCUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000C */ +#define ETH_MACWTR_WTO_15KB (0xDUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000D */ +#define ETH_MACWTR_WTO_16KB (0xEUL << ETH_MACWTR_WTO_Pos) /*!< 0x0000000E */ #define ETH_MACWTR_PWE_Pos (8U) #define ETH_MACWTR_PWE_Msk (0x1UL << ETH_MACWTR_PWE_Pos) /*!< 0x00000100 */ #define ETH_MACWTR_PWE ETH_MACWTR_PWE_Msk /*!< Programmable Watchdog Enable */ @@ -12791,6 +12810,9 @@ typedef struct #define ETH_MACHT1R_HT63T32_31 (0x80000000UL << ETH_MACHT1R_HT63T32_Pos) /*!< 0x80000000 */ /************** Bit definition for ETH_MACVTR register ***************/ +#define ETH_MACVTR_VL_VID_Pos (0U) +#define ETH_MACVTR_VL_VID_Msk (0xFFFUL << ETH_MACVTR_VL_VID_Pos) /*!< 0x00000FFF */ +#define ETH_MACVTR_VL_VID ETH_MACVTR_VL_VID_Msk /*!< VLAN Tag Identifier field of VLAN tag */ #define ETH_MACVTR_VL_Pos (0U) #define ETH_MACVTR_VL_Msk (0xFFFFUL << ETH_MACVTR_VL_Pos) /*!< 0x0000FFFF */ #define ETH_MACVTR_VL ETH_MACVTR_VL_Msk /*!< VLAN Tag Identifier for Receive Packets */ @@ -12952,9 +12974,12 @@ typedef struct #define ETH_MACQ0TXFCR_PLT_Pos (4U) #define ETH_MACQ0TXFCR_PLT_Msk (0x7UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000070 */ #define ETH_MACQ0TXFCR_PLT ETH_MACQ0TXFCR_PLT_Msk /*!< Pause Low Threshold */ -#define ETH_MACQ0TXFCR_PLT_0 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ -#define ETH_MACQ0TXFCR_PLT_1 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ -#define ETH_MACQ0TXFCR_PLT_2 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS4 (0x0UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000000 */ +#define ETH_MACQ0TXFCR_PLT_MINUS28 (0x1UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000010 */ +#define ETH_MACQ0TXFCR_PLT_MINUS36 (0x2UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000020 */ +#define ETH_MACQ0TXFCR_PLT_MINUS144 (0x3UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000030 */ +#define ETH_MACQ0TXFCR_PLT_MINUS256 (0x4UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000040 */ +#define ETH_MACQ0TXFCR_PLT_MINUS512 (0x5UL << ETH_MACQ0TXFCR_PLT_Pos) /*!< 0x00000050 */ #define ETH_MACQ0TXFCR_DZPQ_Pos (7U) #define ETH_MACQ0TXFCR_DZPQ_Msk (0x1UL << ETH_MACQ0TXFCR_DZPQ_Pos) /*!< 0x00000080 */ #define ETH_MACQ0TXFCR_DZPQ ETH_MACQ0TXFCR_DZPQ_Msk /*!< Disable Zero-Quanta Pause */ @@ -13521,10 +13546,12 @@ typedef struct #define ETH_MACMDIOAR_CR_Pos (8U) #define ETH_MACMDIOAR_CR_Msk (0xFUL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000F00 */ #define ETH_MACMDIOAR_CR ETH_MACMDIOAR_CR_Msk /*!< CSR Clock Range */ -#define ETH_MACMDIOAR_CR_0 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ -#define ETH_MACMDIOAR_CR_1 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ -#define ETH_MACMDIOAR_CR_2 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ -#define ETH_MACMDIOAR_CR_3 (0x8UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000800 */ +#define ETH_MACMDIOAR_CR_DIV42 (0x0UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000000 */ +#define ETH_MACMDIOAR_CR_DIV62 (0x1UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000100 */ +#define ETH_MACMDIOAR_CR_DIV16 (0x2UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000200 */ +#define ETH_MACMDIOAR_CR_DIV26 (0x3UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000300 */ +#define ETH_MACMDIOAR_CR_DIV102 (0x4UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000400 */ +#define ETH_MACMDIOAR_CR_DIV124 (0x5UL << ETH_MACMDIOAR_CR_Pos) /*!< 0x00000500 */ #define ETH_MACMDIOAR_NTC_Pos (12U) #define ETH_MACMDIOAR_NTC_Msk (0x7UL << ETH_MACMDIOAR_NTC_Pos) /*!< 0x00007000 */ #define ETH_MACMDIOAR_NTC ETH_MACMDIOAR_NTC_Msk /*!< Number of Training Clocks */ @@ -13963,7 +13990,7 @@ typedef struct #define ETH_MMCTXIMR_TXLPIUSCIM ETH_MMCTXIMR_TXLPIUSCIM_Msk /*!< MMC Transmit LPI microsecond counter interrupt Mask */ #define ETH_MMCTXIMR_TXLPITRCIM_Pos (27U) #define ETH_MMCTXIMR_TXLPITRCIM_Msk (0x1UL << ETH_MMCTXIMR_TXLPITRCIM_Pos) /*!< 0x08000000 */ -#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMC_INTERRUPT_MASK_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ +#define ETH_MMCTXIMR_TXLPITRCIM ETH_MMCTXIMR_TXLPITRCIM_Msk /*!< MMC Transmit LPI transition counter interrupt Mask */ /*********** Bit definition for ETH_MMC_TX_SINGLE_COLLISION_GOOD_PACKETS register ************/ #define ETH_MMCTXSCGPR_TXSNGLCOLG_Pos (0U) @@ -16666,9 +16693,10 @@ typedef struct #define ETH_DMAC0CR_DSL_Pos (18U) #define ETH_DMAC0CR_DSL_Msk (0x7UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x001C0000 */ #define ETH_DMAC0CR_DSL ETH_DMAC0CR_DSL_Msk /*!< Descriptor Skip Length */ -#define ETH_DMAC0CR_DSL_0 (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0CR_DSL_1 (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0CR_DSL_2 (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ +#define ETH_DMACCR_DSL_0BIT (0x0UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00000000 */ +#define ETH_DMACCR_DSL_32BIT (0x1UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00040000 */ +#define ETH_DMACCR_DSL_64BIT (0x2UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00080000 */ +#define ETH_DMACCR_DSL_128BIT (0x4UL << ETH_DMAC0CR_DSL_Pos) /*!< 0x00100000 */ /************* Bit definition for ETH_DMAC0TXCR register *************/ #define ETH_DMAC0TXCR_ST_Pos (0U) @@ -16689,12 +16717,12 @@ typedef struct #define ETH_DMAC0TXCR_TXPBL_Pos (16U) #define ETH_DMAC0TXCR_TXPBL_Msk (0x3FUL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0TXCR_TXPBL ETH_DMAC0TXCR_TXPBL_Msk /*!< Transmit Programmable Burst Length */ -#define ETH_DMAC0TXCR_TXPBL_0 (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0TXCR_TXPBL_1 (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0TXCR_TXPBL_2 (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0TXCR_TXPBL_3 (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0TXCR_TXPBL_4 (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0TXCR_TXPBL_5 (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0TXCR_TXPBL_1PBL (0x1UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0TXCR_TXPBL_2PBL (0x2UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0TXCR_TXPBL_4PBL (0x4UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0TXCR_TXPBL_8PBL (0x8UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0TXCR_TXPBL_16PBL (0x10UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0TXCR_TXPBL_32PBL (0x20UL << ETH_DMAC0TXCR_TXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0TXCR_TQOS_Pos (24U) #define ETH_DMAC0TXCR_TQOS_Msk (0xFUL << ETH_DMAC0TXCR_TQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0TXCR_TQOS ETH_DMAC0TXCR_TQOS_Msk /*!< Transmit QOS. */ @@ -16727,12 +16755,12 @@ typedef struct #define ETH_DMAC0RXCR_RXPBL_Pos (16U) #define ETH_DMAC0RXCR_RXPBL_Msk (0x3FUL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x003F0000 */ #define ETH_DMAC0RXCR_RXPBL ETH_DMAC0RXCR_RXPBL_Msk /*!< Receive Programmable Burst Length */ -#define ETH_DMAC0RXCR_RXPBL_0 (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ -#define ETH_DMAC0RXCR_RXPBL_1 (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ -#define ETH_DMAC0RXCR_RXPBL_2 (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ -#define ETH_DMAC0RXCR_RXPBL_3 (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ -#define ETH_DMAC0RXCR_RXPBL_4 (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ -#define ETH_DMAC0RXCR_RXPBL_5 (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ +#define ETH_DMAC0RXCR_RXPBL_1PBL (0x1UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00010000 */ +#define ETH_DMAC0RXCR_RXPBL_2PBL (0x2UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00020000 */ +#define ETH_DMAC0RXCR_RXPBL_4PBL (0x4UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00040000 */ +#define ETH_DMAC0RXCR_RXPBL_8PBL (0x8UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00080000 */ +#define ETH_DMAC0RXCR_RXPBL_16PBL (0x10UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00100000 */ +#define ETH_DMAC0RXCR_RXPBL_32PBL (0x20UL << ETH_DMAC0RXCR_RXPBL_Pos) /*!< 0x00200000 */ #define ETH_DMAC0RXCR_RQOS_Pos (24U) #define ETH_DMAC0RXCR_RQOS_Msk (0xFUL << ETH_DMAC0RXCR_RQOS_Pos) /*!< 0x0F000000 */ #define ETH_DMAC0RXCR_RQOS ETH_DMAC0RXCR_RQOS_Msk /*!< Rx AXI4 QOS. */ @@ -25778,6 +25806,16 @@ typedef struct #define BSEC_HWCFGR_ECC_USE_Msk (0xFUL << BSEC_HWCFGR_ECC_USE_Pos) /*!< 0x000000F0 */ #define BSEC_HWCFGR_ECC_USE BSEC_HWCFGR_ECC_USE_Msk /*!< protection / redundancy scheme used */ +/******************** Bit definition for BSEC_JTAGIN register ********************/ +#define BSEC_JTAGIN_DATA_Pos (0U) +#define BSEC_JTAGIN_DATA_Msk (0x0000FFFFUL << BSEC_JTAGIN_DATA_Pos) /*!< JTAG Input Data */ +#define BSEC_JTAGIN_DATA BSEC_JTAGIN_DATA_Msk + +/******************** Bit definition for BSEC_JTAGOUT register ********************/ +#define BSEC_JTAGOUT_DATA_Pos (0U) +#define BSEC_JTAGOUT_DATA_Msk (0x0000FFFFUL << BSEC_JTAGOUT_DATA_Pos) /*!< JTAG Output Data */ +#define BSEC_JTAGOUT_DATA BSEC_JTAGOUT_DATA_Msk + /******************** Bit definition for BSEC_VERR register********************/ #define BSEC_VERR_MINREV_Pos (0U) #define BSEC_VERR_MINREV_Msk (0xFUL << BSEC_VERR_MINREV_Pos) /*!< 0x0000000F */ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp1xx.h b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp1xx.h index b9706dc23d..44fffb9c7b 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp1xx.h +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Include/stm32mp1xx.h @@ -69,7 +69,7 @@ * @brief CMSIS Device version number */ #define __STM32MP1xx_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */ -#define __STM32MP1xx_CMSIS_VERSION_SUB1 (0x05U) /*!< [23:16] sub1 version */ +#define __STM32MP1xx_CMSIS_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */ #define __STM32MP1xx_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */ #define __STM32MP1xx_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */ #define __STM32MP1xx_CMSIS_VERSION ((__CMSIS_DEVICE_VERSION_MAIN << 24)\ diff --git a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Release_Notes.html b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Release_Notes.html index 19f49a5e93..972d4eeded 100644 --- a/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Release_Notes.html +++ b/system/Drivers/CMSIS/Device/ST/STM32MP1xx/Release_Notes.html @@ -43,7 +43,7 @@
This is a Maintenance release for STM32MP15xx CMSIS
@@ -51,6 +51,27 @@None
+None
+This is a Maintenance release for STM32MP15xx CMSIS
+None
-None
This is a Maintenance release for STM32MP15xx CMSIS
-None
-None
This is a Maintenance release for STM32MP15xx CMSIS
-None
-None
This is a Maintenance release for STM32MP15xx CMSIS
-None
-None
This is the First Maintenance release for STM32MP15xx CMSIS
-None
-None
This is the First Official release for STM32MP15xx CMSIS
-None
-None
Maintenance release of HAL and LL drivers for STM32MP15xx devices
+Maintenance release of HAL and LL drivers for STM32MP15xx devices
-Maintenance release of HAL and LL drivers for STM32MP15xx devices
-Maintenance release of HAL and LL drivers for STM32MP15xx devices
-First Maintenance release of HAL and LL drivers for STM32MP15xx devices
-First official release of HAL and LL drivers for STM32MP15xx devices
-