Propeller Manual

Table Of Contents
Index
CLKSET (spin), 71–72
Clock
Configuring, 28, 67
Frequency, 63, 65, 71
Frequency range, 29
Mode, 28, 31, 67, 68
Mode Setting Constants (table), 68, 69
PLL, 22, 28, 65
Sources, 22
System, 22
CMP (asm), 272–73
CMPS (asm), 274–75
CMPSUB (asm), 276
CMPSX (asm), 277–79
CMPX (asm), 280–81
CNT (asm), 23, 282, 338
CNT (spin), 23, 73–74, 200
Cog
Assembly pointer, 328
Boot parameter register, 178, 331
Control (asm), 243, 283, 284, 286
Control (spin), 39, 75, 76, 78, 83, 187
First instruction address, 23, 239
ID, 75, 283
RAM, 23, 240
RAM (spec), 16
RAM Map (figure), 23
Registers (table), 338
Start, 76–77, 78–82, 284
Stop, 83, 286
Structure, 20–21, 20–21, 20–21
Cog-Hub interaction, 21
Cog-Hub Interaction (figure), 25
COGID (asm), 283
COGID (spin), 75
COGINIT (asm), 284–85
COGINIT (spin), 76–77
COGNEW (spin), 78–82
Cogs (processors), 22
COGSTOP (asm), 286
COGSTOP (spin), 83
Collisions, resource, 122
Combining conditions, 113
Common resources, 22, 26, 27
Common syntax elements (asm), 250
CON (spin), 84–90
CON field (asm), 251
Concise truth tables, 252
Condition field (asm), 250
Conditional code (spin), 59, 112, 117
Conditional loops, 192
Conditions (asm), 243, 287, 295
Conditions, Assembly (table), 296
Configuration (asm), 243, 271
Configuration (spin), 38, 62, 63, 65, 67, 68, 71, 94,
110, 202, 236
CONSTANT (spin), 91–92
Constant Assignment ‘=’, 148
Constant block, 84
Constant Declarations, 85
Constant Expression Math/Logic Oper. (table), 326
Constant expression operators, 146
Constants (pre-defined), 93–94
Counted finite loops, 190
Counter
Control, 23, 95, 288
Frequency, 23, 111, 293
Modes (table), 98
Phase, 23, 180, 332
Registers, 95, 288
Crystal Input (pin), 15
Crystal oscillator, 28
Crystal Output (pin), 15
CTRA and CTRB Registers (table), 96
CTRA, CTRB (asm), 23, 288, 338
CTRA, CTRB (spin), 23, 95–98, 200
Current draw (spec), 16
Current source/sink (spec), 15, 16
D
DAC, 95
DAT (spin), 99–103
Data
Declaring bytes, 52
Declaring longs, 129
Declaring words, 229
Reading/writing, 53, 130, 229
Data block, 99
Data tables, 51, 100, 128, 136, 138, 227
Decimal point, ., 207
Declaring data, 100
Decode, Bitwise ‘|<’, 160
Decrement, pre- or post- ‘- -’, 151
Delay
Propeller Manual v1.1 · Page 389