Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
adc.h
Go to the documentation of this file.
1 #ifndef __ASM_CPU_SH3_ADC_H
2 #define __ASM_CPU_SH3_ADC_H
3 
4 /*
5  * Copyright (C) 2004 Andriy Skulysh
6  */
7 
8 
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
18 
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
25 
26 #define ADCR 0xa4000092
27 
28 #endif /* __ASM_CPU_SH3_ADC_H */