Jun 02, 2017
12:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 02, 2017
12:03 AM
Hello,
Can I assign those function components in the code dynamically?
e.g.,sometime I want to take P3.0,P3.1 as UART,sometime take as I2C in the one C code file,is it available?
Thanks.
Chris
2 Replies
Jun 02, 2017
07:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 02, 2017
07:47 AM
The SCB based components can be used uninitialized. With the help of different structs you can assign at run-time what the component shall do. Look in datasheet for initializing the SCB.
Bob
Jun 02, 2017
08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 02, 2017
08:52 AM
Thanks Bob,it is really helpful.