User Manual

Page 23 of 39
CHAPTER 5
FreeStar Module Input/Output
5.1 Overview
There are a total of 10 user input/output pins on the FreeStar module which
consist of 8 configurable digital input/outputs and 2 fixed analog inputs.
5.2 Digital Inputs/Outputs
There are 8 configurable digital input/output pins that can be programmed to
be either inputs or outputs. In addition if the pins are inputs the internal
pullup resistor can either be enabled or disabled. Refer to Table 1 below for
a mapping of the digital input and output pins.
Pin
Number
Bit Position
(MSB to LSB)
Pin Description
0 0b00000001 MC9S08GT60 micro pin PTD3 (pin 23)
1 0b00000010 MC9S08GT60 micro pin PTD4 (pin 24)
2 0b00000100 MC9S08GT60 micro pin PTA4 (pin 39)
3 0b00001000 MC9S08GT60 micro pin PTA5 (pin 40)
4 0b00010000 MC9S08GT60 micro pin PTA6 (pin 41)
5 0b00100000 MC9S08GT60 micro pin PTC0 (pin 2)
6 0b01000000 MC9S08GT60 micro pin PTC1 (pin 3)
7 0b10000000 MC9S08GT60 micro pin PTC5 (pin 7)
Table 1