Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the delay function based on timers below that is used in the skeleton code for the LCD Lab void tim6_delay (void)t VO //enable APB1
Consider the delay function based on timers below that is used in the skeleton code for the LCD Lab void tim6_delay (void)t VO //enable APB1 bus clock RCC-APB1ENRI RCC APB1ENR_TIM6EN; TIM6 prescalor set at dofault to 0 for now TIM6->PSC=o; // proscalar TIM6->ARR-21000; //auto roload registor TIM6->CNT-//cloar counto rogistor TM6_>CRI TIM CRI CEN ; /WHEN COUNTER IS DONE THE TIM6 SR REG UIF FLAG IS SET while (TIM6->SR0); TM6->SR=o; //CLEAR uIF FLAG You are asked to figure out the actual delay from the above function. Upload a detailed word document including the method, screen captures, hook up picture, code with comments and step-by-step instructions you followed to measure the delay and report the delay you measured
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started