IR Controller Register Guide

From A10 User manual: Infrared Interface (IR) supports CIR, MIR, and FIR modes. The IR includes the following features:
 * Compliant with IrDA 1.1 for MIR and FIR
 * Full physical layer implementation
 * Support 0.576 Mbit/sec and 1.152 Mbit/sec Medium Infrared (MIR) physical layer protocol
 * Support 4 Mbit/sec FIR physical layer protocol defined by IrDA version 1.4
 * Support CIR for remote control or wireless keyboard
 * Hardware CRC16 for MIR and CRC32 for FIR
 * Dual 16x8-bits FIFO for data transfer
 * Programmable FIFO thresholds
 * Support Interrupt and DMA

= IR Controller registers = WARNING: This data is currently only from A10 user manual


 * IR0 base: 0x01c21800
 * IR1 base: 0x01c21c00

Memory Map
01c21800: 00000000 00000004 00000000 00000000   ................ 01c21810: 00000004 00000000 00000000 00000000   ................ 01c21820: 00000000 00000000 00001030 00000000   ........0....... 01c21830: 00000000 00001828 00000000 00000000   ....(...........

IR_CTL

 * Default value: 00000000
 * Offset: 0x00
 * Source manuals: A10, A20

IR_TXCTL

 * Default value: 0x00000004
 * Offset: 0x04
 * Source manuals: A10, A20

IR_TXADR

 * Default value: 0x00000000
 * Offset: 0x08
 * Source manuals: A10, A20

IR_TXCNT

 * Default value: 0x00000000
 * Offset: 0x0C
 * Source manuals: A10, A20

IR_RXCTL

 * Default value: 0x00000004
 * Offset: 0x10
 * Source manuals: A10, A20

IR_RXADR

 * Default value: 0x00000000
 * Offset: 0x14
 * Source manuals: A10, A20

IR_RXCNT

 * Default value: 0x00000000</tt>
 * Offset: 0x18
 * Source manuals: A10, A20

IR_TXFIFO

 * Default value: 0x00000000</tt>
 * Offset: 0x1C
 * Source manuals: A10, A20

IR_RXFIFO

 * Default value: 0x00000000</tt>
 * Offset: 0x20
 * Source manuals: A10, A20

IR_TXINT

 * Default value: 0x00000000</tt>
 * Offset: 0x24
 * Source manuals: A10, A20

IR_TXSTA

 * Default value: 0x00001010</tt>
 * Offset: 0x28
 * Source manuals: A10, A20

IR_RXINT

 * Default value: 0x00000000</tt>
 * Offset: 0x2C
 * Source manuals: A10, A20

IR_RXSTA

 * Default value: 0x00000000</tt>
 * Offset: 0x30
 * Source manuals: A10, A20

IR_CIR

 * Default value: 0x00001828</tt>
 * Offset: 0x34
 * Source manuals: A10, A20