314
Rabbit 3000 Microprocessor
B.1.14 Quadrature Decoder Improvements
The quadrature decoder counters can now be expanded to 10 bits instead of 8 bits. This is
controlled by bit 5 in QDCR, listed in Table B-28. The additional two bits can be read in
the QDCxHR registers, listed in Table B-29.
NOTE:
Bit 5 of QDCR was always written with a zero in the original Rabbit 3000 chip.
Table B-28. Quadrature Decoder Control Register
Quadrature Decoder Control Register
(QDCR)
(Address = 0x0091)
Bit(s)
Value
Description
7:6
00
Disable Quadrature Decoder 2 inputs. Writing a new value to these bits will not
cause Quadrature Decoder 2 to increment or decrement.
01
This bit combination is reserved and should not be used.
10
Quadrature Decoder 2 inputs from Port F bits 3 and 2.
11
Quadrature Decoder 2 inputs from Port F bits 7 and 6.
5
0
Eight bit quadrature decoder counters.
1
Ten bit quadrature decoder counters.
4
This bit is reserved and should be written as zero.
3:2
00
Disable Quadrature Decoder 1 inputs. Writing a new value to these bits will not
cause Quadrature Decoder 1 to increment or decrement.
01
This bit combination is reserved and should not be used.
10
Quadrature Decoder 1 inputs from Port F bits 1 and 0.
11
Quadrature Decoder 1 inputs from Port F bits 5 and 4.
1:0
00
Quadrature Decoder interrupts are disabled.
01
Quadrature Decoder interrupt use Interrupt Priority 1.
10
Quadrature Decoder interrupt use Interrupt Priority 2.
11
Quadrature Decoder interrupt use Interrupt Priority 3.
Table B-29. Quadrature Decoder Count High Register
Quadrature Decoder Count High Register
(QDC1HR)
(Address = 0x0095)
(QDC2HR)
(Address = 0x0097)
Bit(s)
Value
Description
7:2
read
These bits are reserved and will always read as zeros.
1:0
read
The current value of bits 9-8 of the Quadrature Decoder counter is reported.
Содержание Rabbit 2000
Страница 2: ...Rabbit 3000 Microprocessor User s Manual 019 0108 040731 O ...
Страница 9: ...Rabbit 3000 Microprocessor ...
Страница 29: ...20 Rabbit 3000 Microprocessor ...
Страница 64: ...User s Manual 55 5 PIN ASSIGNMENTS AND FUNCTIONS ...
Страница 79: ...70 Rabbit 3000 Microprocessor ...
Страница 80: ...User s Manual 71 6 RABBIT INTERNAL I O REGISTERS ...
Страница 123: ...114 Rabbit 3000 Microprocessor ...
Страница 137: ...128 Rabbit 3000 Microprocessor ...
Страница 157: ...148 Rabbit 3000 Microprocessor ...
Страница 207: ...198 Rabbit 3000 Microprocessor ...
Страница 249: ...240 Rabbit 3000 Microprocessor ...
Страница 255: ...246 Rabbit 3000 Microprocessor ...
Страница 277: ...268 Rabbit 3000 Microprocessor ...
Страница 343: ...334 Rabbit 3000 Microprocessor ...
Страница 345: ......