Page 467 - Programming Microcontrollers in C
P. 467
452 Index
program flow and control, 36-51
return, 9
program memory, 159
rfi instruction, 418
programmable interval timer (PIT), 314-315,
right shift operator, 29
395, 402, 419-420
RISC microcontrollers, 324, 393-446
programmable timer, 246-251
ROM, 127, 153
programming hierarchy, 347-348
RTI, 168, 176
prototype, function, 52, 432
RTS, 176
PSR register, 400
rvalue, 69
pull( ), 60
pulse width modulation program for
MC68HC11, 245-251
S
pulse width modulation program for
saving data to EEPROM, 376-378
MC68HC16, 297-302
SCCR1/SCCR2, 276
pulse width modulator (PWM), 201-207, 247
semaphore, 397-400, 403, 433
253, 255, 268
semicolon, use of in C, 53
push( ), 60
sequence point, 11
put( ) function, 409, 411
serial communications control registers, 276
putchar, 111, 382-383, 411
serial communications data register, 276
puts function, 382, 384, 413
serial communications interface (SCI), 133
MC68HC11 family, 275-285
MC68HC16 family, 308
Q
serial communications status register (SCSR),
queued serial peripheral interface module
276
(QSPI), 288
serial I/O, 133
queued serial module (QSM), 305-308
with MMC2001, 404-413
quick sort, 231
serial peripheral interface (SPI), 133
serial port, 382
SET INCLUDE, 2
R setjmp function, 49, 119
Shell, D.L., 230
RAM, 153
short, 9-10
random access memory, 153
signals, 119
reading data from the keyboard, 371
signed, 9-10
read-only memory, 127
sin(x), 117
real time interrupt (RTI), 168, 176
sinh(x), 117
realloc, 115
sizeof, 9, 34, 81
recursion, 61-63, 96, 157
Software Development Systems (SDS), 393
recursive code, 324
software watchdog, 301
reed switch, 268
sort, 74-76, 230-237
re-entrant function, 61
bubble, 74
register, 9, 13
entry, 230
relational operator, 26-27
quick, 75, 230-237
reset function, 381-382
Shell, 75, 230-231, 234, 236, 356
reset signal, 125, 169
square, 56
reset time function, 428
SRAM, 288
return from interrupt, 126

