- •Preface
- •About this document
- •Intended audience
- •Organization
- •Typographical conventions
- •Further reading
- •ARM publications
- •Feedback
- •Feedback on this document
- •Feedback on the ARM PrimeCell Generic Infrared Interface (PL140)
- •Introduction
- •1.1 About the ARM PrimeCell Generic Infrared Interface (PL140)
- •1.1.1 Features of the PrimeCell GIR
- •1.1.2 Programmable parameters
- •1.2 Block diagram
- •1.3 AMBA compatibility
- •Functional Overview
- •2.1 ARM PrimeCell Generic Infrared Interface (PL140) overview
- •2.2 PrimeCell GIR functional description
- •2.2.1 AMBA APB interface
- •2.2.2 Register block
- •2.2.3 Receive and transmit clock divider
- •2.2.4 Transmit FIFO
- •2.2.5 Receive FIFO
- •2.2.6 Transmit logic
- •2.2.7 Receive logic
- •2.2.8 Interrupt generation logic
- •2.2.9 Synchronizing registers and logic
- •2.2.10 Test registers and logic
- •2.3 Infrared methodology
- •2.4 PrimeCell GIR operation
- •2.4.1 Interface reset
- •2.4.2 Clock signals
- •2.4.3 Receive processing
- •2.4.4 Receive demodulation
- •2.4.5 Receive FIFO information
- •2.4.6 Transmit processing
- •2.4.7 Transmit modulation
- •2.4.8 Clock dividers
- •Programmer’s Model
- •3.1 About the programmer’s model
- •3.2 Summary of PrimeCell GIR registers
- •3.3 Register descriptions
- •3.3.1 GIRFCR: [15] (+ 0x00)
- •3.3.5 GIRSTAT: [8] (+0x10)
- •3.3.7 GIRIIR/GIRICR: [3/0] (+0x18)
- •Programmer’s Model for Test
- •4.1 PrimeCell GIR test harness overview
- •4.2 Scan testing
- •4.3 Test registers
- •4.3.4 GIRTISR: [1] (+0x88)
- •4.3.5 GIRTOCR: [5] (+0x8c)
- •4.3.6 GIRTTXCDC [16] (+0x90)
- •4.3.7 GIRTRXCDC [16] (+0x94)
- •4.3.8 GIRTTXC [20] (+0x98)
- •4.3.9 GIRTRXPTC [20] (+0x9c)
- •4.3.10 GIRTDC [7] (+0xa0)
- •A.1 AMBA APB signals
- •A.2 On-chip signals
- •A.3 Signals to pads
Chapter 3
Programmer’s Model
This chapter describes the ARM PrimeCell Generic Infrared Interface (PL140) registers and provides details needed when programming the microcontroller. It contains the following:
•About the programmer’s model on page 3-2
•Summary of PrimeCell GIR registers on page 3-3
•Register descriptions on page 3-4.
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
3-1 |
Programmer’s Model
3.1About the programmer’s model
The base address of the PrimeCell GIR is not fixed, and may be different for any particular system implementation. The offset of any particular register from the base address is fixed.
The following locations are reserved, and must not be used during normal operation:
•locations at offsets +0x1c–0x3c and +0xa4–0xff are reserved for possible future extensions
•locations at offsets +0x40 through +0xa0 are reserved for test purposes.
3-2 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0149B |
Programmer’s Model
3.2Summary of PrimeCell GIR registers
The PrimeCell GIR registers are shown in Table 3-1:
Table 3-1 PrimeCell GIR register summary
Address |
Type |
Width |
Reset value |
Name |
Description |
|
|
|
|
|
|
GIR Base + 0x00 |
Read/ |
15 |
0x0000 |
GIRFCR |
Function control register. |
|
write |
|
|
|
|
|
|
|
|
|
|
GIR Base + 0x04 |
Read/ |
16 |
0x0000 |
GIRTXGENCR |
Transmit clock generator |
|
write |
|
|
|
control register. |
|
|
|
|
|
|
GIR Base + 0x08 |
Read/ |
16 |
0x0000 |
GIRRXGENCR |
Receive clock generator |
|
write |
|
|
|
control register. |
|
|
|
|
|
|
GIR Base + 0x0c |
Read/ |
4 |
0x0 |
GIRTXDUTYCR |
Transmit carrier duty cycle |
|
write |
|
|
|
register. |
|
|
|
|
|
|
GIR Base + 0x10 |
Read |
8 |
0x50 |
GIRSTAT |
Status register. |
|
|
|
|
|
|
GIR Base + 0x14 |
Read/ |
18/17 |
0x00000 |
GIRDATAR |
Data register. |
|
write |
|
|
|
|
|
|
|
|
|
|
GIR Base + 0x18 |
Read |
3 |
0x0 |
GIRIIR |
Interrupt identification |
|
|
|
|
|
register. |
|
|
|
|
|
|
GIR Base + 0x18 |
Write |
0 |
Undefined |
GIRICR |
Interrupt clear register. |
|
|
|
|
|
|
GIR Base + 0x1c–0x3c |
- |
- |
- |
- |
Reserved. |
|
|
|
|
|
|
GIR Base + 0x40–0xa0 |
- |
- |
- |
- |
Reserved (for test purposes). |
|
|
|
|
|
|
GIR Base + 0xa4–0xff |
- |
- |
- |
- |
Reserved. |
|
|
|
|
|
|
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
3-3 |