Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Find the SysCtl API function that sets the clock source and frequency. You can use Resource Explorer, a search engine, or (my preference) look

image text in transcribed
1. Find the SysCtl API function that sets the clock source and frequency. You can use Resource Explorer, a search engine, or (my preference) look in the Tl install directory. The parameters can be somewhat confusing so, here are the options needed to set an 80 MHz clock: SYSCTL_SYSDIV 2 5 SYSCTL_USE PLL SYSCTL OSC_MAIN SYSCTL_XTAL 16MHZ 2. What GPIO port is wired to switch SW1 on the board? Which pin on that port is connected to SW1? Likewise, what about SW22 3. If you enable SW1, what other peripherals are disabled? 4. Can you set the direction of all three LEDs with one API call? If so, how? 1. Find the SysCtl API function that sets the clock source and frequency. You can use Resource Explorer, a search engine, or (my preference) look in the Tl install directory. The parameters can be somewhat confusing so, here are the options needed to set an 80 MHz clock: SYSCTL_SYSDIV 2 5 SYSCTL_USE PLL SYSCTL OSC_MAIN SYSCTL_XTAL 16MHZ 2. What GPIO port is wired to switch SW1 on the board? Which pin on that port is connected to SW1? Likewise, what about SW22 3. If you enable SW1, what other peripherals are disabled? 4. Can you set the direction of all three LEDs with one API call? If so, how

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

13th edition

1439078106, 111197375X, 9781439078105, 9781111973759, 978-1439078099

More Books

Students also viewed these Finance questions