Create a class named SysTickUMNG.h using c++, involving the SysTick configuration of an STM32F7xx micrprocessor, knowing the
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a class named SysTickUMNG.h using c++, involving the SysTick configuration of an STM32F7xx micrprocessor, knowing the following functions.
-void SysTick_Wait(uint32_t n){
SysTick->LOAD = n-1;
SysTick->VAL=0;
while((SysTick->CTRL&(1<<16))==0){}}
-void SysTick_Wait1ms(uint32_t Delay){
for(uint32_t i=0; i SysTick_Wait(16000);
}
-void SysTick_Init(void){
SysTick->LOAD=0x00FFFFFF;
SysTick->CTRL=0x00000005;}}
The class has to allow the user to set the Systick configuration to microseconds, miliseconds and seconds, and show where it should be placed in the int main(){}.
Related Book For
Posted Date: