Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 233233

Forum post: MSP430FR6989: MSP430FR6989

$
0
0
Part Number: MSP430FR6989 I have one more fundamental question. As I said earlier I am new to the MSP430 world. I am presently using the MSP430 Workbook and all is going very well. I was able to define all three of the internal clocks, MCLK, SMCLK and ACLK through "myClocks.c" file. So I go back to my main.c, I do #define one_second 1000000 Next I then setup my GPIOs, then _delay_cycles (one_second); Question, how did the compiler know which clock to use for the "_delay_cycles (one_second)" Does it, or did it default to the ACLK? I never told the code which clock to use???? Thanks for the help.

Viewing all articles
Browse latest Browse all 233233

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>