Skip to content

Commit 9319d2a

Browse files
committed
STM32H7 remove non-UTF characters
1 parent 2f9ba5b commit 9319d2a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMSIS/stm32h7xx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* is using in the C source code, usually in main.c. This file contains:
99
* - Configuration section that allows to select:
1010
* - The STM32H7xx device used in the target application
11-
* - To use or not the peripherals drivers in application code(i.e.
12-
* code will be based on direct access to peripherals registers
11+
* - To use or not the peripheral's drivers in application code(i.e.
12+
* code will be based on direct access to peripheral's registers
1313
* rather than drivers API), this option is controlled by
1414
* "#define USE_HAL_DRIVER"
1515
*

targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_cryp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ HAL_StatusTypeDef HAL_CRYP_Init(CRYP_HandleTypeDef *hcryp)
456456
}
457457
#endif /* (USE_HAL_CRYP_REGISTER_CALLBACKS) */
458458

459-
/* Set the key size(This bit field is ‘don’t care’ in the DES or TDES modes) data type and Algorithm */
459+
/* Set the key size(This bit field is "don't care" in the DES or TDES modes) data type and Algorithm */
460460
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_DATATYPE | CRYP_CR_KEYSIZE | CRYP_CR_ALGOMODE,
461461
hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm);
462462
#if !defined (CRYP_VER_2_2)
@@ -567,7 +567,7 @@ HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeD
567567
hcryp->Init.B0 = pConf->B0;
568568
hcryp->Init.DataWidthUnit = pConf->DataWidthUnit;
569569

570-
/* Set the key size(This bit field is ‘don’t care’ in the DES or TDES modes) data type, AlgoMode and operating mode*/
570+
/* Set the key size(This bit field is "don't care" in the DES or TDES modes) data type, AlgoMode and operating mode*/
571571
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_DATATYPE | CRYP_CR_KEYSIZE | CRYP_CR_ALGOMODE,
572572
hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm);
573573

targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_cryp_ex.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ HAL_StatusTypeDef HAL_CRYPEx_AESGCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, u
158158
/* Select final phase */
159159
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_GCM_CCMPH, CRYP_PHASE_FINAL);
160160

161-
/*ALGODIR bit must be set to ‘0’.*/
161+
/*ALGODIR bit must be set to '0'.*/
162162
hcryp->Instance->CR &= ~CRYP_CR_ALGODIR;
163163

164164
/* Enable the CRYP peripheral */
@@ -315,7 +315,7 @@ HAL_StatusTypeDef HAL_CRYPEx_AESCCM_GenerateAuthTAG(CRYP_HandleTypeDef *hcryp, u
315315
/* Disable CRYP to start the final phase */
316316
__HAL_CRYP_DISABLE(hcryp);
317317

318-
/* Select final phase & ALGODIR bit must be set to ‘0’. */
318+
/* Select final phase & ALGODIR bit must be set to '0'. */
319319
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_GCM_CCMPH | CRYP_CR_ALGODIR, CRYP_PHASE_FINAL | CRYP_OPERATINGMODE_ENCRYPT);
320320

321321
/* Enable the CRYP peripheral */

targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_fdcan.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ typedef struct
479479
This parameter can be a value of @ref FDCAN_TT_time_master */
480480

481481
uint32_t SyncDevLimit; /*!< Specifies the Synchronization Deviation Limit SDL of the TUR
482-
numerator : TUR = (Numerator ± SDL) / Denominator.
482+
numerator : TUR = (Numerator +/- SDL) / Denominator.
483483
With : SDL = 2^(SyncDevLimit+5).
484484
This parameter must be a number between 0 and 7 */
485485

targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_wwdg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@
4040
(++) max time (mS) = 1000 * (Counter - 0x40) / WWDG clock
4141
(+) Typical values (case of STM32H74x/5x devices):
4242
(++) Counter min (T[5;0] = 0x00) @100MHz (PCLK1) with zero prescaler:
43-
max timeout before reset: approximately 40.96µs
43+
max timeout before reset: approximately 40.96us
4444
(++) Counter max (T[5;0] = 0x3F) @100MHz (PCLK1) with prescaler dividing by 128:
4545
max timeout before reset: approximately 335.54ms
4646
(+) Typical values (case of STM32H7Ax/Bx devices):
4747
(++) Counter min (T[5;0] = 0x00) @140MHz (PCLK1) with zero prescaler:
48-
max timeout before reset: approximately 29.25µs
48+
max timeout before reset: approximately 29.25us
4949
(++) Counter max (T[5;0] = 0x3F) @140MHz (PCLK1) with prescaler dividing by 128:
5050
max timeout before reset: approximately 239.67ms
5151
(+) Typical values (case of STM32H72x/3x devices):
5252
(++) Counter min (T[5;0] = 0x00) @125MHz (PCLK1) with zero prescaler:
53-
max timeout before reset: approximately 32.76µs
53+
max timeout before reset: approximately 32.76us
5454
(++) Counter max (T[5;0] = 0x3F) @125MHz (PCLK1) with prescaler dividing by 128:
5555
max timeout before reset: approximately 268.43ms
5656

0 commit comments

Comments
 (0)