MC68HC16Y1
MOTOROLA
MC68HC16Y1TS/D
77
*Host Sequence Code interpretation is determined by the function; some HSQ codes apply to all HSR codes, some to
only one, such as Init.
Table 26 Host Service Summary
Function Name
Function
Code
Host Service Request Code
Host Sequence Code*
DIO
Discrete Input/
Output
$8
1= Force Output High
0 = Trans Mode — Record Pin on Transition
2 = Force Output Low
0 = Trans Mode — Record Pin on Transition
3 = Initialization, Input Specified
0 = Trans Mode — Record Pin on Transition
3 = Initialization, Periodic Input
1 = Match Mode — Record Pin at Match_Rate
3 = Update Pin Status Parameter
2 = Record Pin State on HSR 11
ITC
Input Capture/
Input Transition
Counter
$A
0 = None
0 = No Link, Single Mode
1 = Initialization
1 = No Link, Continuous Mode
2 = (Not Implemented)
2 = Link, Single Mode
3 = (Not Implemented)
3 = Link, Continuous Mode
OC
Output Compare
$E
0 = None
0 = Execute All Functions
1 = Host-Initiated Pulse Mode
1 = Execute All Functions
2 = (Not Implemented)
2 = Only Update TCRn Parameters
3 = Continuous Pulse Mode
3 = Only Update TCRn Parameters
PWM
Pulse-Width
Modulation
$9
0 = None
(None Implemented)
1 = Immediate Update Request
2 = Initialization
3 = (Not Implemented)
SPWM
Synchronized
Pulse-Width Mod-
ulation
$7
0 = None
0 = Mode 0
1 = (Not Implemented)
1 = Mode 1
2 = Initialization
2 = Mode 2
3 = Immediate Update Request
3 = (Not Implemented)
PMA/PMM
Period Measure-
ment with Addi-
tional/Missing
Transition Detect
$B
0 = None
0 = PMA Bank Mode
1 = Initialization
1 = PMA Count Mode
2 = (Not Implemented)
2 = PMM Bank Mode
3 = (Not Implemented)
3 = PMM Count Mode
PSP
Position-Synchro-
nized Pulse Gen-
erator
$C
0 = None
0 = Pulse Width Set by Angle
1 = Immediate Update Request
1 = Pulse Width Set by Time
2 = Initialization
2 = Pulse Width Set by Angle
3 = Force Change
3 = Pulse Width Set by Time
SM
Stepper Motor
$D
0 = None
(None Implemented)
1 = None
2 = Initialization
3 = Step Request
PPWA
Period/Pulse-
Width Accumula-
tor
$F
0 = None
0 = 24-Bit Period
1 = (Not Implemented)
1 = 16-Bit Period + Link
2 = Initialization
2 = 24-Bit Pulse Width
3 = (Not Implemented)
3 = 16-Bit Pulse Width + Link
LR — Link Register
$YFFE22
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CH 15
CH 14
CH 13
CH 12
CH 11
CH 10
CH 9
CH 8
CH 7
CH 6
CH 5
CH 4
CH 3
CH 2
CH 1
CH 0
RESET:
0