2019-06-27 05:04 PM
I open an empty project without any settings.
#include "stm32f4xx.h"
#include "stm32f4_discovery.h"
int main(void)
{
while (1)
{
}
}
void EVAL_AUDIO_TransferComplete_CallBack(uint32_t pBuffer, uint32_t Size){
/* TODO, implement your code here */
return;
}
uint16_t EVAL_AUDIO_GetSampleCallBack(void){
/* TODO, implement your code here */
return -1;
}
and I observe the values in the CR register.
As seen in the photo it comes full of many bits. Even both HSE and HSI are active. I was just expecting HSI to be active because the reset value of this register is 0x82.
I also cannot reset the values of the bits when I add the RCC->CR=0x82; code to the program. Where am I making a mistake?