Spresense SDK Library
v3.4.6-5ba3997155669912adc4b68df0dc983c4388532a
Loading...
Searching...
No Matches
adc.h
Go to the documentation of this file.
1
/****************************************************************************
2
* arch/arm/include/cxd56xx/adc.h
3
*
4
* Licensed to the Apache Software Foundation (ASF) under one or more
5
* contributor license agreements. See the NOTICE file distributed with
6
* this work for additional information regarding copyright ownership. The
7
* ASF licenses this file to you under the Apache License, Version 2.0 (the
8
* "License"); you may not use this file except in compliance with the
9
* License. You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
* License for the specific language governing permissions and limitations
17
* under the License.
18
*
19
****************************************************************************/
24
#ifndef __ARCH_ARM_INCLUDE_CXD56XX_ADC_H
25
#define __ARCH_ARM_INCLUDE_CXD56XX_ADC_H
26
32
/****************************************************************************
33
* Included Files
34
****************************************************************************/
35
36
#include <stdint.h>
37
#include <stdbool.h>
38
#include <nuttx/analog/ioctl.h>
39
40
/****************************************************************************
41
* Pre-processor Prototypes
42
****************************************************************************/
43
49
#define ANIOC_USER (AN_FIRST + AN_NCMDS)
50
58
#define ANIOC_CXD56_START _ANIOC(ANIOC_USER + 0)
59
67
#define ANIOC_CXD56_STOP _ANIOC(ANIOC_USER + 1)
68
76
#define ANIOC_CXD56_FREQ _ANIOC(ANIOC_USER + 2)
77
85
#define ANIOC_CXD56_FIFOSIZE _ANIOC(ANIOC_USER + 3)
86
89
/****************************************************************************
90
* Public Types
91
****************************************************************************/
103
int
cxd56_adcinitialize
(
void
);
104
109
#endif
/* __ARCH_ARM_INCLUDE_CXD56XX_ADC_H */
cxd56_adcinitialize
int cxd56_adcinitialize(void)
spresense
nuttx
arch
arm
include
cxd56xx
adc.h
Generated by
1.12.0