/* Created by Hdr2H.  Do not edit.*/
#ifndef INSTALL_DDE_ACORNC_C___EXPORT_APCS_32_C_GLOBAL_IO_GENERICIO_H
#define INSTALL_DDE_ACORNC_C___EXPORT_APCS_32_C_GLOBAL_IO_GENERICIO_H

#ifdef __CC_NORCROFT
#pragma force_top_level
#pragma include_only_once
#endif

#define IOC                                      (0x3200000)
#define IOCControl                               (0x0)
#define IOCSERTX                                 (0x4)
#define IOCSERRX                                 (0x4)
#define IOCIRQSTAA                               (0x10)
#define IOCIRQREQA                               (0x14)
#define IOCIRQCLRA                               (0x14)
#define IOCIRQMSKA                               (0x18)
#define IOCIRQSTAB                               (0x20)
#define IOCIRQREQB                               (0x24)
#define IOCIRQCLRB                               (0x24)
#define IOCIRQMSKB                               (0x28)
#define IOCFIQSTA                                (0x30)
#define IOCFIQREQ                                (0x34)
#define IOCFIQMSK                                (0x38)
#define Timer0LL                                 (0x40)
#define Timer0LH                                 (0x44)
#define Timer0GO                                 (0x48)
#define Timer0CL                                 (0x40)
#define Timer0CH                                 (0x44)
#define Timer0LR                                 (0x4c)
#define Timer1LL                                 (0x50)
#define Timer1LH                                 (0x54)
#define Timer1GO                                 (0x58)
#define Timer1CL                                 (0x50)
#define Timer1CH                                 (0x54)
#define Timer1LR                                 (0x5c)
#define IOC_Control                              ((IOC) + 0x0)
#define IOC_SERTX                                ((IOC) + 0x4)
#define IOC_SERRX                                ((IOC) + 0x4)
#define IOC_IRQSTAA                              ((IOC) + 0x10)
#define IOC_IRQREQA                              ((IOC) + 0x14)
#define IOC_IRQCLRA                              ((IOC) + 0x14)
#define IOC_IRQMSKA                              ((IOC) + 0x18)
#define IOC_IRQSTAB                              ((IOC) + 0x20)
#define IOC_IRQREQB                              ((IOC) + 0x24)
#define IOC_IRQCLRB                              ((IOC) + 0x24)
#define IOC_IRQMSKB                              ((IOC) + 0x28)
#define IOC_FIQSTA                               ((IOC) + 0x30)
#define IOC_FIQREQ                               ((IOC) + 0x34)
#define IOC_FIQMSK                               ((IOC) + 0x38)
#define IOC_Timer0LL                             ((IOC) + 0x40)
#define IOC_Timer0CL                             ((IOC) + 0x40)
#define IOC_Timer0LH                             ((IOC) + 0x44)
#define IOC_Timer0CH                             ((IOC) + 0x44)
#define IOC_Timer0GO                             ((IOC) + 0x48)
#define IOC_Timer0LR                             ((IOC) + 0x4c)
#define IOC_Timer1LL                             ((IOC) + 0x50)
#define IOC_Timer1CL                             ((IOC) + 0x50)
#define IOC_Timer1LH                             ((IOC) + 0x54)
#define IOC_Timer1CH                             ((IOC) + 0x54)
#define IOC_Timer1GO                             ((IOC) + 0x58)
#define IOC_Timer1LR                             ((IOC) + 0x5c)
#define i2c_clock_bit                            (1 << 1)
#define i2c_data_bit                             (1 << 0)
#define IOEB_ID_bit_number                       (3)
#define IOEB_unique_machine_ID_bit               (1 << IOEB_ID_bit_number)
#define force_bit                                (1 << 7)
#define timer1_bit                               (1 << 6)
#define timer0_bit                               (1 << 5)
#define por_bit                                  (1 << 4)
#define vsync_bit                                (1 << 3)
#define serial_Rx_bit                            (1 << 7)
#define serial_Tx_bit                            (1 << 6)
#define podule_IRQ_bit                           (1 << 5)
#define podule_FIQ_as_IRQ_bit                    (1 << 0)
#define podule_FIQ_bit                           (1 << 6)
#define floppy_DMA_bit                           (1 << 0)
#define ClockControlShift                        (9)
#define ClockControlMask                         (3 << ClockControlShift)
#define SyncControlShift                         (11)
#define SyncControlMask                          (3 << SyncControlShift)
#define IOEB_ASICPresent                         (0x3350050)
#define LC_ASICPresent                           (0x302c03c)
#endif
