1f15cbe6fSPaul Mundt #ifndef __ASM_CPU_SH3_ADC_H 2f15cbe6fSPaul Mundt #define __ASM_CPU_SH3_ADC_H 3f15cbe6fSPaul Mundt 4f15cbe6fSPaul Mundt /* 5f15cbe6fSPaul Mundt * Copyright (C) 2004 Andriy Skulysh 6f15cbe6fSPaul Mundt */ 7f15cbe6fSPaul Mundt 8f15cbe6fSPaul Mundt 9f15cbe6fSPaul Mundt #define ADDRAH 0xa4000080 10f15cbe6fSPaul Mundt #define ADDRAL 0xa4000082 11f15cbe6fSPaul Mundt #define ADDRBH 0xa4000084 12f15cbe6fSPaul Mundt #define ADDRBL 0xa4000086 13f15cbe6fSPaul Mundt #define ADDRCH 0xa4000088 14f15cbe6fSPaul Mundt #define ADDRCL 0xa400008a 15f15cbe6fSPaul Mundt #define ADDRDH 0xa400008c 16f15cbe6fSPaul Mundt #define ADDRDL 0xa400008e 17f15cbe6fSPaul Mundt #define ADCSR 0xa4000090 18f15cbe6fSPaul Mundt 19f15cbe6fSPaul Mundt #define ADCSR_ADF 0x80 20f15cbe6fSPaul Mundt #define ADCSR_ADIE 0x40 21f15cbe6fSPaul Mundt #define ADCSR_ADST 0x20 22f15cbe6fSPaul Mundt #define ADCSR_MULTI 0x10 23f15cbe6fSPaul Mundt #define ADCSR_CKS 0x08 24f15cbe6fSPaul Mundt #define ADCSR_CH_MASK 0x07 25f15cbe6fSPaul Mundt 26f15cbe6fSPaul Mundt #define ADCR 0xa4000092 27f15cbe6fSPaul Mundt 28f15cbe6fSPaul Mundt #endif /* __ASM_CPU_SH3_ADC_H */ 29