Professional Documents
Culture Documents
MICROCONTROLLER
FUNDAMENTALS FOR BASIC
PROGRAMMING
I/O Pin Multiplexing
Switch̲ State Input ̲ Pin̲ State Switch̲ State Input ̲ Pin̲ State
either “1” or “0”, high or low, depending on the position of the switch,
thus achieving the proper output function and therefore preventing the
condition we require.
GPIO Control:
General Purpose Input/output (GPIO) refers to pins on a board which are connected to
the microcontroller in a special configuration.
GPIOs are used in devices like SoC, PLDs, and FPGAs, which inherit problems of pin scarcity.
They are used in multifunction chips like audio codecs and video cards for connectivity
They are extensively used in embedded systems designs to interface the microcontroller to
external sensors and driver circuits.
o In the Tiva Launchpad, the GPIO module has six physical GPIO blocks.
o There are six ports in Tiva C series microcontrollers namely, Port A through F.
o This GPIO module supports up to 43 programmable input/output pins
Data Register :
GPIODATA register is the data register
Memory mapped peripherals: