Full support for Ginger Console
[linux-ginger.git] / arch / sh / include / cpu-sh3 / cpu / adc.h
blobb289e3ca19a663a0d2d22fdf8a80c516e8215393
1 #ifndef __ASM_CPU_SH3_ADC_H
2 #define __ASM_CPU_SH3_ADC_H
4 /*
5 * Copyright (C) 2004 Andriy Skulysh
6 */
9 #define ADDRAH 0xa4000080
10 #define ADDRAL 0xa4000082
11 #define ADDRBH 0xa4000084
12 #define ADDRBL 0xa4000086
13 #define ADDRCH 0xa4000088
14 #define ADDRCL 0xa400008a
15 #define ADDRDH 0xa400008c
16 #define ADDRDL 0xa400008e
17 #define ADCSR 0xa4000090
19 #define ADCSR_ADF 0x80
20 #define ADCSR_ADIE 0x40
21 #define ADCSR_ADST 0x20
22 #define ADCSR_MULTI 0x10
23 #define ADCSR_CKS 0x08
24 #define ADCSR_CH_MASK 0x07
26 #define ADCR 0xa4000092
28 #endif /* __ASM_CPU_SH3_ADC_H */