File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
components/soc/esp32h2/register/soc Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2+ * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
@@ -1039,7 +1039,7 @@ typedef volatile struct spi_mem_dev_s {
10391039 uint32_t reg_pseudo_rng_cnt : 3 ; /*xts aes peseudo function base round that must be performed.*/
10401040 uint32_t reg_pseudo_base : 4 ; /*xts aes peseudo function base round that must be performed.*/
10411041 uint32_t reg_pseudo_inc : 2 ; /*xts aes peseudo function increment round that will be performed randomly between 0 & 2**(inc+1).*/
1042- uint32_t reserved11 : 27 ; /*reserved*/
1042+ uint32_t reserved11 : 21 ; /*reserved*/
10431043 };
10441044 uint32_t val ;
10451045 } xts_pseudo_round_conf ;
@@ -1080,6 +1080,11 @@ typedef volatile struct spi_mem_dev_s {
10801080} spi_mem_dev_t ;
10811081extern spi_mem_dev_t SPIMEM0 ;
10821082extern spi_mem_dev_t SPIMEM1 ;
1083+
1084+ #ifndef __cplusplus
1085+ _Static_assert (sizeof (spi_mem_dev_t ) == 0x400 , "Invalid size of spi_mem_dev_t structure" );
1086+ #endif
1087+
10831088#ifdef __cplusplus
10841089}
10851090#endif
You can’t perform that action at this time.
0 commit comments