Fixed behavior of rcc_peripheral_clear_reset...
This commit is contained in:
@@ -243,7 +243,7 @@ void rcc_peripheral_reset(volatile u32 *reg, u32 reset)
|
|||||||
|
|
||||||
void rcc_peripheral_clear_reset(volatile u32 *reg, u32 clear_reset)
|
void rcc_peripheral_clear_reset(volatile u32 *reg, u32 clear_reset)
|
||||||
{
|
{
|
||||||
*reg |= clear_reset;
|
*reg &= ~clear_reset;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rcc_set_sysclk_source(u32 clk)
|
void rcc_set_sysclk_source(u32 clk)
|
||||||
|
|||||||
Reference in New Issue
Block a user