PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/sh/include/cpu-sh3/cpu/adc.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 28 lines | 19 code | 6 blank | 3 comment | 0 complexity | 676b9c41fb70a4d3ab438649fffa6919 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 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 */