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;

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(){}.

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!