Abstract |
In the first two labs you have already had some exposure to using pins on the MSP430G2553 configured as output pins. In this lab we gain experience in designating pins to be input pins as well as output pins. In addition, to the 8 pins on Port 1 (P1.0 to P1.7) you are familiar with, there is also a Port 2 with 8 pins (P2.0 to P2.7). When you review the User’s Guide (SLAU144K) you see that upon power on P2.6 and P2.7 are not configured as input/output pins. To use these pins as input/output pins they need to be declared as such with P2SEL. In total there are 16 general purpose digital I/O pins that can be utilized. |
Authors |
James Kretzschmar , Jeffrey R. Anderson , Steven F. Barrett
|
Journal Info |
Morgan & Claypool Publishers | MSP430 Microcontroller Lab Manual , pages: 19 - 28
|
Publication Date |
1/1/2023 |
ISSN |
1932-3166 |
Type |
book-chapter |
Open Access |
closed
|
DOI |
https://doi.org/10.1007/978-3-031-26643-0_3 |
Keywords |
Microcontroller Interfaces (Score: 0.473247)
|