Access Millions of academic & study documents

Snhu cs 350 milestone 3

Content type
User Generated
School
SNHU
Showing Page:
1/3
SNHU 1
07/31/21
CS 350 Milestone 3
SNHU

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/3
SNHU 2
1. What is the purpose of the timerCallback() function?
“The method that is called by a Timer. This method does not execute in the thread that
created the timer; it executes in a separate thread pool thread that is provided by the
system. (1)
2. What does period mean in this context?
The amount of time to wait between subsequent executions.
3. How does the Timer_CONTINUOUS_CALLBACK parameter impact the driver?
Is a non-blocking call. After Timer_start() is called, the calling thread will continue
execution. When the timer interrupt is triggered, the specified callback function will be
called. The timer is automatically restarted and will continue to periodically generate
interrupts until Timer_stop() is called. Please see timer.h file for further information.
4. What is gpioButtonFxn0() used for?
Callback function for the GPIO interrupt on CONFIG_GPIO_BUTTON_0. Please see
commets in gpiointerrupt.c file for further information.
5. What is the purpose of GPIO_CFG_IN_INT_FALLING?
Interrupt on falling edge. Please see GPIO.h file for further information.

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/3

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
07/31/21 CS 350 – Milestone 3 SNHU SNHU 1 1. What is the purpose of the timerCallback() function? “The method that is called by a Timer. This method does not execute in the thread that created the timer; it executes in a separate thread pool thread that is provided by the system”. (1) 2. What does period mean in this context? The amount of time to wait between subsequent executions. 3. How does the Timer_CONTINUOUS_CALLBACK parameter impact the driver? Is a non-blocking call. After Timer_start() is called, the calling thread will continue execution. When the timer interrupt is triggered, the specified callback function will be called. The timer is automatically restarted and will continue to periodically generate interrupts until Timer_stop() is called. Please see timer.h file for further information. 4. What is gpioButtonFxn0() used for? Callback function for the GPIO interru ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Similar Documents