mirror of https://github.com/ARMmbed/mbed-os.git
STM32F2 remove non-UTF characters
parent
66fa2dd0c2
commit
7f15a2802e
|
@ -7,7 +7,7 @@
|
||||||
* This file contains :
|
* This file contains :
|
||||||
* - Data structures and the address mapping for all peripherals
|
* - Data structures and the address mapping for all peripherals
|
||||||
* - Peripherals registers declarations and bits definition
|
* - Peripherals registers declarations and bits definition
|
||||||
* - Macros to access peripheral’s registers hardware
|
* - Macros to access peripheral's registers hardware
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* This file contains :
|
* This file contains :
|
||||||
* - Data structures and the address mapping for all peripherals
|
* - Data structures and the address mapping for all peripherals
|
||||||
* - Peripherals registers declarations and bits definition
|
* - Peripherals registers declarations and bits definition
|
||||||
* - Macros to access peripheral’s registers hardware
|
* - Macros to access peripheral's registers hardware
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* This file contains :
|
* This file contains :
|
||||||
* - Data structures and the address mapping for all peripherals
|
* - Data structures and the address mapping for all peripherals
|
||||||
* - Peripherals registers declarations and bits definition
|
* - Peripherals registers declarations and bits definition
|
||||||
* - Macros to access peripheral’s registers hardware
|
* - Macros to access peripheral's registers hardware
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* This file contains :
|
* This file contains :
|
||||||
* - Data structures and the address mapping for all peripherals
|
* - Data structures and the address mapping for all peripherals
|
||||||
* - Peripherals registers declarations and bits definition
|
* - Peripherals registers declarations and bits definition
|
||||||
* - Macros to access peripheral’s registers hardware
|
* - Macros to access peripheral's registers hardware
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
* is using in the C source code, usually in main.c. This file contains:
|
* is using in the C source code, usually in main.c. This file contains:
|
||||||
* - Configuration section that allows to select:
|
* - Configuration section that allows to select:
|
||||||
* - The STM32F2xx device used in the target application
|
* - The STM32F2xx device used in the target application
|
||||||
* - To use or not the peripheral’s drivers in application code(i.e.
|
* - To use or not the peripheral's drivers in application code(i.e.
|
||||||
* code will be based on direct access to peripheral’s registers
|
* code will be based on direct access to peripheral's registers
|
||||||
* rather than drivers API), this option is controlled by
|
* rather than drivers API), this option is controlled by
|
||||||
* "#define USE_HAL_DRIVER"
|
* "#define USE_HAL_DRIVER"
|
||||||
*
|
*
|
||||||
|
|
|
@ -299,7 +299,7 @@ HAL_StatusTypeDef HAL_CRYP_Init(CRYP_HandleTypeDef *hcryp)
|
||||||
}
|
}
|
||||||
#endif /* (USE_HAL_CRYP_REGISTER_CALLBACKS) */
|
#endif /* (USE_HAL_CRYP_REGISTER_CALLBACKS) */
|
||||||
|
|
||||||
/* Set the key size(This bit field is ‘don’t care’ in the DES or TDES modes) data type and Algorithm */
|
/* Set the key size(This bit field is "don't care" in the DES or TDES modes) data type and Algorithm */
|
||||||
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_DATATYPE|CRYP_CR_KEYSIZE|CRYP_CR_ALGOMODE, hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm);
|
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_DATATYPE|CRYP_CR_KEYSIZE|CRYP_CR_ALGOMODE, hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm);
|
||||||
|
|
||||||
/* Reset Error Code field */
|
/* Reset Error Code field */
|
||||||
|
@ -398,7 +398,7 @@ HAL_StatusTypeDef HAL_CRYP_SetConfig(CRYP_HandleTypeDef *hcryp, CRYP_ConfigTypeD
|
||||||
hcryp->Init.KeySize = pConf->KeySize;
|
hcryp->Init.KeySize = pConf->KeySize;
|
||||||
hcryp->Init.pInitVect = pConf->pInitVect;
|
hcryp->Init.pInitVect = pConf->pInitVect;
|
||||||
|
|
||||||
/* Set the key size(This bit field is ‘don’t care’ in the DES or TDES modes) data type, AlgoMode and operating mode*/
|
/* Set the key size(This bit field is "don't care" in the DES or TDES modes) data type, AlgoMode and operating mode*/
|
||||||
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_DATATYPE|CRYP_CR_KEYSIZE|CRYP_CR_ALGOMODE, hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm);
|
MODIFY_REG(hcryp->Instance->CR, CRYP_CR_DATATYPE|CRYP_CR_KEYSIZE|CRYP_CR_ALGOMODE, hcryp->Init.DataType | hcryp->Init.KeySize | hcryp->Init.Algorithm);
|
||||||
|
|
||||||
/* Process Unlocked */
|
/* Process Unlocked */
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
(++) max time (mS) = 1000 * (Counter - 0x40) / WWDG clock
|
(++) max time (mS) = 1000 * (Counter - 0x40) / WWDG clock
|
||||||
(+) Typical values:
|
(+) Typical values:
|
||||||
(++) Counter min (T[5;0] = 0x00) at 30MHz (PCLK1) with zero prescaler:
|
(++) Counter min (T[5;0] = 0x00) at 30MHz (PCLK1) with zero prescaler:
|
||||||
max timeout before reset: approximately 136.53µs
|
max timeout before reset: approximately 136.53us
|
||||||
(++) Counter max (T[5;0] = 0x3F) at 30MHz (PCLK1) with prescaler
|
(++) Counter max (T[5;0] = 0x3F) at 30MHz (PCLK1) with prescaler
|
||||||
dividing by 8:
|
dividing by 8:
|
||||||
max timeout before reset: approximately 69.91ms
|
max timeout before reset: approximately 69.91ms
|
||||||
|
|
Loading…
Reference in New Issue