Closed Gregwar closed 8 years ago
Actually, there is a comment in usart_disable
that clearly tell that
It appear that disabling the device in APB1ENR
fixes the problem
(Here, adding this: RCC_BASE->APB1ENR &= ~RCC_APB1ENR_USART2EN;
after end()
)
Hello, It appear that
end()
doesn't allow a port to get back its PWM configuration, here is an example:Something is maybe not cleaned, any idea?