242
Rabbit 4000 Microprocessor User’s Manual
23.2 Dependencies
23.2.1 I/O Pins
Each PWM channel can be output on up one of three pins, which can be selected via the
parallel port alternate output registers.
23.2.2 Clocks
The PWM counter is clocked from the output of Timer A9, and can run at rates from
perclk/2 down to perclk/512 by writing the appropriate value to TAT9R.
23.2.3 Other Registers
23.2.4 Interrupts
The PWM can generate an interrupt for every PWM counter rollover, every second roll-
over, every fourth rollover, or every eighth rollover. This option is selected in PWL1R.
The interrupt request is cleared by a write to any PWM register.
The PWM interrupt vector is in the IIR at offset 0x170. It can be set as Priority 1, 2, or 3
by writing to PWL0R.
PWM
Output Pins
Channel 0
PC4, PD4, PE4
Channel 1
PC5, PD5, PE5
Channel 2
PC6, PD6, PE6
Channel 3
PC7, PD7, PE7
Register
Function
TAT9R
Time constant for PWM clock
PCFR, PCAHR
PDFR, PDAHR
PEFR, PEAHR
Alternate port output selection
Summary of Contents for Rabbit 4000
Page 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Page 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Page 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Page 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Page 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Page 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Page 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Page 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Page 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Page 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Page 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Page 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Page 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Page 348: ...338 Rabbit 4000 Microprocessor User s Manual...