diff options
| author | 7YZ7 <[email protected]> | 2023-04-18 10:26:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-17 22:26:23 -0400 |
| commit | 501b22aabede2d4e179bfc47f3b75522e5933da4 (patch) | |
| tree | 2a4c160aabc412aaded6b83ec22238bf37cab30c /bsp | |
| parent | 3f44132ade0d45e7851f46d6bb1241d10eccfff5 (diff) | |
[HUST CSE] Fix many abnormal symbols in annotations and format code
Diffstat (limited to 'bsp')
11 files changed, 68 insertions, 68 deletions
diff --git a/bsp/Vango/v85xx/Libraries/CMSIS/Vango/V85xx/Include/target.h b/bsp/Vango/v85xx/Libraries/CMSIS/Vango/V85xx/Include/target.h index 4a1b554740..c069cead67 100644 --- a/bsp/Vango/v85xx/Libraries/CMSIS/Vango/V85xx/Include/target.h +++ b/bsp/Vango/v85xx/Libraries/CMSIS/Vango/V85xx/Include/target.h @@ -1089,7 +1089,7 @@ typedef struct //#define ANA_REGA_PSLSEL ANA_REGA_PSLSEL_Msk /*!< power switch level selection */ //#define ANA_REGA_PD_PORH_Pos (5U) //#define ANA_REGA_PD_PORH_Msk (0x1U << ANA_REGA_PD_PORH_Pos) /*!< 0x00000020 */ -//#define ANA_REGA_PD_PORH ANA_REGA_PD_PORH_Msk /*!< PD POR_H module, output ��1�� when PD */ +//#define ANA_REGA_PD_PORH ANA_REGA_PD_PORH_Msk /*!< PD POR_H module, output '1' when PD */ //#define ANA_REGA_PD_RCL_Pos (6U) //#define ANA_REGA_PD_RCL_Msk (0x1U << ANA_REGA_PD_RCL_Pos) /*!< 0x00000040 */ //#define ANA_REGA_PD_RCL ANA_REGA_PD_RCL_Msk /*!< PD 32K RC module */ diff --git a/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_flash.c b/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_flash.c index 2bfd1bd0fd..006438111a 100644 --- a/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_flash.c +++ b/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_flash.c @@ -858,11 +858,11 @@ FLASH_Status FLASH_OB_Erase(void) /* Get the actual read protection Option Byte value */ if(FLASH_OB_GetRDP() != RESET) { - rdptmp = 0x0000 | 0xff00; //��������1 + rdptmp = 0x0000 | 0xff00; //读保护级别1 } else { - rdptmp = OB_RDP_Level_0 | 0x5500; //��������0 + rdptmp = OB_RDP_Level_0 | 0x5500; //读保护级别0 } /*Get iwdg value */ diff --git a/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_rtc.c b/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_rtc.c index 9f1a51e0ad..1708575e6c 100644 --- a/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_rtc.c +++ b/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ft32f0xx_rtc.c @@ -1303,7 +1303,7 @@ void RTC_TimeStampCmd(uint32_t RTC_TimeStampEdge, FunctionalState NewState) { uint32_t tmpreg = 0; - /*��Edge�ĸ��û�д�λ�Ķ���*/ + /* 设置Edge的边缘触发,没有特定位的情况 */ /* Check the parameters */ assert_param(IS_RTC_TIMESTAMP_EDGE(RTC_TimeStampEdge)); assert_param(IS_FUNCTIONAL_STATE(NewState)); diff --git a/bsp/gd32/arm/libraries/GD32F4xx_Firmware_Library/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c b/bsp/gd32/arm/libraries/GD32F4xx_Firmware_Library/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c index 8003e92c2d..4c576e64f4 100644 --- a/bsp/gd32/arm/libraries/GD32F4xx_Firmware_Library/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c +++ b/bsp/gd32/arm/libraries/GD32F4xx_Firmware_Library/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c @@ -68,7 +68,7 @@ ErrStatus rtc_deinit(void) error_status = rtc_init_mode_enter(); if(ERROR != error_status) { - /* reset RTC_CTL register, but RTC_CTL[2��0] */ + /* reset RTC_CTL register, but RTC_CTL[2:0] */ RTC_CTL &= (RTC_REGISTER_RESET | RTC_CTL_WTCS); /* before reset RTC_TIME and RTC_DATE, BPSHAD bit in RTC_CTL should be reset as the condition. in order to read calendar from shadow register, not the real registers being reset */ @@ -76,7 +76,7 @@ ErrStatus rtc_deinit(void) RTC_DATE = RTC_DATE_RESET; RTC_PSC = RTC_PSC_RESET; - /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2��0] */ + /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2:0] */ /* wait until the WTWF flag to be set */ do { flag_status = RTC_STAT & RTC_STAT_WTWF; @@ -1095,7 +1095,7 @@ ErrStatus rtc_wakeup_clock_set(uint8_t wakeup_clock) /* disable the write protection */ RTC_WPK = RTC_UNLOCK_KEY1; RTC_WPK = RTC_UNLOCK_KEY2; - /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2��0] */ + /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2:0] */ /* wait until the WTWF flag to be set */ do { flag_status = RTC_STAT & RTC_STAT_WTWF; diff --git a/bsp/gd32450z-eval/Libraries/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c b/bsp/gd32450z-eval/Libraries/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c index 12ee6c3207..323da9f788 100644 --- a/bsp/gd32450z-eval/Libraries/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c +++ b/bsp/gd32450z-eval/Libraries/GD32F4xx_standard_peripheral/Source/gd32f4xx_rtc.c @@ -68,7 +68,7 @@ ErrStatus rtc_deinit(void) error_status = rtc_init_mode_enter(); if(ERROR != error_status){ - /* reset RTC_CTL register, but RTC_CTL[2��0] */ + /* reset RTC_CTL register, but RTC_CTL[2:0] */ RTC_CTL &= (RTC_REGISTER_RESET | RTC_CTL_WTCS); /* before reset RTC_TIME and RTC_DATE, BPSHAD bit in RTC_CTL should be reset as the condition. in order to read calendar from shadow register, not the real registers being reset */ @@ -76,7 +76,7 @@ ErrStatus rtc_deinit(void) RTC_DATE = RTC_DATE_RESET; RTC_PSC = RTC_PSC_RESET; - /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2��0] */ + /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2:0] */ /* wait until the WTWF flag to be set */ do{ flag_status = RTC_STAT & RTC_STAT_WTWF; @@ -1096,7 +1096,7 @@ ErrStatus rtc_wakeup_clock_set(uint8_t wakeup_clock) /* disable the write protection */ RTC_WPK = RTC_UNLOCK_KEY1; RTC_WPK = RTC_UNLOCK_KEY2; - /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2��0] */ + /* only when RTC_CTL_WTEN=0 and RTC_STAT_WTWF=1 can write RTC_CTL[2:0] */ /* wait until the WTWF flag to be set */ do{ flag_status = RTC_STAT & RTC_STAT_WTWF; diff --git a/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6360/HPM6360_svd.xml b/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6360/HPM6360_svd.xml index baea1d60a1..cfa1eedc02 100644 --- a/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6360/HPM6360_svd.xml +++ b/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6360/HPM6360_svd.xml @@ -25077,7 +25077,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -25091,7 +25091,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -25107,7 +25107,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -25388,7 +25388,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -25402,7 +25402,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -25418,7 +25418,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -25699,7 +25699,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -25713,7 +25713,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -25729,7 +25729,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26010,7 +26010,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -26024,7 +26024,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26040,7 +26040,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26321,7 +26321,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -26335,7 +26335,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26351,7 +26351,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26632,7 +26632,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -26646,7 +26646,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26662,7 +26662,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26943,7 +26943,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -26957,7 +26957,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -26973,7 +26973,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -27254,7 +27254,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -27268,7 +27268,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -27284,7 +27284,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> diff --git a/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6750/HPM6750_svd.xml b/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6750/HPM6750_svd.xml index e6b4f7cb4d..4cb4a912c3 100644 --- a/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6750/HPM6750_svd.xml +++ b/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6750/HPM6750_svd.xml @@ -34249,7 +34249,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -34263,7 +34263,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -34279,7 +34279,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -34560,7 +34560,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -34574,7 +34574,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -34590,7 +34590,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -34871,7 +34871,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -34885,7 +34885,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -34901,7 +34901,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -35182,7 +35182,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -35196,7 +35196,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -35212,7 +35212,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -35493,7 +35493,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -35507,7 +35507,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -35523,7 +35523,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -35804,7 +35804,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -35818,7 +35818,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -35834,7 +35834,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -36115,7 +36115,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -36129,7 +36129,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -36145,7 +36145,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -36426,7 +36426,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x8: 256 transfers 0x9:512 transfers 0xa: 1024 transfers -0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception</description> +0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>24</bitOffset> <bitWidth>4</bitWidth> <access>read-write</access> @@ -36440,7 +36440,7 @@ The burst transfer byte number is (SrcBurstSize * SrcWidth). 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>21</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> @@ -36456,7 +36456,7 @@ See field SrcBurstSize above for the definition of burst transfer byte number an 0x3: Double word transfer 0x4: Quad word transfer 0x5: Eight word transfer -0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception</description> +0x6-x7: Reserved, setting this field with a reserved value triggers the error exception</description> <bitOffset>18</bitOffset> <bitWidth>3</bitWidth> <access>read-write</access> diff --git a/bsp/hpmicro/libraries/hpm_sdk/soc/ip/hpm_dma_regs.h b/bsp/hpmicro/libraries/hpm_sdk/soc/ip/hpm_dma_regs.h index a4e47861ba..9ddbd9c766 100644 --- a/bsp/hpmicro/libraries/hpm_sdk/soc/ip/hpm_dma_regs.h +++ b/bsp/hpmicro/libraries/hpm_sdk/soc/ip/hpm_dma_regs.h @@ -273,7 +273,7 @@ typedef struct { * 0x8: 256 transfers * 0x9:512 transfers * 0xa: 1024 transfers - * 0xb �?0xf: Reserved, setting this field with a reserved value triggers the error exception + * 0xb -0xf: Reserved, setting this field with a reserved value triggers the error exception */ #define DMA_CHCTRL_CTRL_SRCBURSTSIZE_MASK (0xF000000UL) #define DMA_CHCTRL_CTRL_SRCBURSTSIZE_SHIFT (24U) @@ -290,7 +290,7 @@ typedef struct { * 0x3: Double word transfer * 0x4: Quad word transfer * 0x5: Eight word transfer - * 0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception + * 0x6-x7: Reserved, setting this field with a reserved value triggers the error exception */ #define DMA_CHCTRL_CTRL_SRCWIDTH_MASK (0xE00000UL) #define DMA_CHCTRL_CTRL_SRCWIDTH_SHIFT (21U) @@ -309,7 +309,7 @@ typedef struct { * 0x3: Double word transfer * 0x4: Quad word transfer * 0x5: Eight word transfer - * 0x6�?x7: Reserved, setting this field with a reserved value triggers the error exception + * 0x6-x7: Reserved, setting this field with a reserved value triggers the error exception */ #define DMA_CHCTRL_CTRL_DSTWIDTH_MASK (0x1C0000UL) #define DMA_CHCTRL_CTRL_DSTWIDTH_SHIFT (18U) diff --git a/bsp/imxrt/libraries/drivers/drv_eth.c b/bsp/imxrt/libraries/drivers/drv_eth.c index dbe95d2410..e240b5b969 100644 --- a/bsp/imxrt/libraries/drivers/drv_eth.c +++ b/bsp/imxrt/libraries/drivers/drv_eth.c @@ -1020,7 +1020,7 @@ static int rt_hw_imxrt_eth_init(void) imxrt_eth_device.dev_addr[4] = 0x22; imxrt_eth_device.dev_addr[5] = 0x33; - imxrt_eth_device.speed = kENET_MiiSpeed100M;//Ҫ֧��ǧ�ף�ֱ�ӽ���ֵ��ΪkENET_MiiSpeed1000M + imxrt_eth_device.speed = kENET_MiiSpeed100M;//要支持千兆,直接赋值为kENET_MiiSpeed1000M imxrt_eth_device.duplex = kENET_MiiFullDuplex; imxrt_eth_device.enet_base = ENET_1G; diff --git a/bsp/simulator/drivers/uart_console.c b/bsp/simulator/drivers/uart_console.c index 88da0950ed..d869a4232c 100644 --- a/bsp/simulator/drivers/uart_console.c +++ b/bsp/simulator/drivers/uart_console.c @@ -117,10 +117,10 @@ static void * ThreadforKeyGet(void * lpParam) #endif /* not _WIN32*/ { /* - * left key(��)�� 0xe04b - * up key(��)�� 0xe048 - * right key(��)�� 0xe04d - * down key(��)�� 0xe050 + * left key(左): 0xe04b + * up key(上): 0xe048 + * right key(右): 0xe04d + * down key(下): 0xe050 */ unsigned char key; diff --git a/bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.h b/bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.h index e85e559421..bebd5fbb91 100644 --- a/bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.h +++ b/bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.h @@ -21,7 +21,7 @@ extern "C" { #define OV2640_PID 0X2642 -//褰撻�夋嫨DSP鍦板潃(0XFF=0X00)鏃�,OV2640鐨凞SP瀵勫瓨鍣ㄥ湴鍧�鏄犲皠琛� +//当选择DSP地址(0XFF=0X00)时,OV2640的DSP寄存器地址映射表 #define OV2640_DSP_R_BYPASS 0x05 #define OV2640_DSP_Qs 0x44 #define OV2640_DSP_CTRL 0x50 @@ -57,7 +57,7 @@ extern "C" { #define OV2640_DSP_P_STATUS 0xFE #define OV2640_DSP_RA_DLMT 0xFF -//褰撻�夋嫨浼犳劅鍣ㄥ湴鍧�(0XFF=0X01)鏃�,OV2640鐨凞SP瀵勫瓨鍣ㄥ湴鍧�鏄犲皠琛� +//当选择DSP地址(0XFF=0X01)时,OV2640的DSP寄存器地址映射表 #define OV2640_SENSOR_GAIN 0x00 #define OV2640_SENSOR_COM1 0x03 #define OV2640_SENSOR_REG04 0x04 |
