mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
update hal.h
This commit is contained in:
1 parent
0d16361e3f
commit
1daee9fd8f
1 file changed
+1
@@ -299,6 +299,7 @@ static inline void hal_system_init(void) {
|
|||||||
SCB->CCR |= SCB_CCR_DIV_0_TRP_Msk;
|
SCB->CCR |= SCB_CCR_DIV_0_TRP_Msk;
|
||||||
__DSB();
|
__DSB();
|
||||||
__ISB();
|
__ISB();
|
||||||
|
SRC_GENERAL_REG->SRMASK &= ~SRC_GENERAL_SRMASK_CM33_RESET_MASK_MASK; // enable reset request to propagate
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline RGPIO_Type *hal_gpio_bank(uint16_t pin) {
|
static inline RGPIO_Type *hal_gpio_bank(uint16_t pin) {
|
||||||
|
|||||||
Reference in new issue
Block a user