![Rabbit Rabbit 4000 Скачать руководство пользователя страница 252](http://html1.mh-extra.com/html/rabbit/rabbit-4000/rabbit-4000_user-manual_3116714252.webp)
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
Содержание Rabbit 4000
Страница 1: ...Rabbit 4000 Microprocessor User s Manual 019 0152 070720 H...
Страница 18: ...8 Rabbit 4000 Microprocessor User s Manual...
Страница 40: ...30 Rabbit 4000 Microprocessor User s Manual...
Страница 74: ...64 Rabbit 4000 Microprocessor User s Manual...
Страница 82: ...72 Rabbit 4000 Microprocessor User s Manual...
Страница 86: ...76 Rabbit 4000 Microprocessor User s Manual...
Страница 96: ...86 Rabbit 4000 Microprocessor User s Manual...
Страница 182: ...172 Rabbit 4000 Microprocessor User s Manual...
Страница 240: ...230 Rabbit 4000 Microprocessor User s Manual...
Страница 248: ...238 Rabbit 4000 Microprocessor User s Manual...
Страница 256: ...246 Rabbit 4000 Microprocessor User s Manual...
Страница 310: ...300 Rabbit 4000 Microprocessor User s Manual...
Страница 330: ...320 Rabbit 4000 Microprocessor User s Manual...
Страница 348: ...338 Rabbit 4000 Microprocessor User s Manual...