Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
cc2538_soc_adc.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 Loci Controls Inc.
3
* 2018 HAW Hamburg
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
22
#ifndef CC2538_SOC_ADC_H
23
#define CC2538_SOC_ADC_H
24
25
#include "
cc2538.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
34
typedef
struct
{
35
cc2538_reg_t
ADCCON1
;
36
cc2538_reg_t
ADCCON2
;
37
cc2538_reg_t
ADCCON3
;
38
cc2538_reg_t
ADCL
;
39
cc2538_reg_t
ADCH
;
40
cc2538_reg_t
RNDL
;
41
cc2538_reg_t
RNDH
;
42
cc2538_reg_t
RESERVED[2];
43
cc2538_reg_t
CMPCTL
;
44
}
cc2538_soc_adc_t
;
45
46
#ifdef __cplusplus
47
}
/* end extern "C" */
48
#endif
49
50
#endif
/* CC2538_SOC_ADC_H */
51
cc2538_soc_adc_t::ADCCON2
cc2538_reg_t ADCCON2
ADC Control Register 2.
Definition:
cc2538_soc_adc.h:36
cc2538_soc_adc_t::ADCH
cc2538_reg_t ADCH
Most-significant part of ADC conversion result.
Definition:
cc2538_soc_adc.h:39
cc2538_soc_adc_t::ADCL
cc2538_reg_t ADCL
Least-significant part of ADC conversion result.
Definition:
cc2538_soc_adc.h:38
cc2538_soc_adc_t::ADCCON3
cc2538_reg_t ADCCON3
ADC Control Register 3.
Definition:
cc2538_soc_adc.h:37
cc2538_soc_adc_t::ADCCON1
cc2538_reg_t ADCCON1
ADC Control Register 1.
Definition:
cc2538_soc_adc.h:35
cc2538_soc_adc_t::RNDL
cc2538_reg_t RNDL
Random-number-generator data; low byte.
Definition:
cc2538_soc_adc.h:40
cc2538_reg_t
volatile uint32_t cc2538_reg_t
Least-significant 32 bits of the IEEE address.
Definition:
cc2538.h:124
cc2538.h
CC2538 MCU interrupt and register definitions.
cc2538_soc_adc_t
SOC ADC component registers.
Definition:
cc2538_soc_adc.h:34
cc2538_soc_adc_t::CMPCTL
cc2538_reg_t CMPCTL
Analog comparator control and status register.
Definition:
cc2538_soc_adc.h:43
cc2538_soc_adc_t::RNDH
cc2538_reg_t RNDH
Random-number-generator data; high byte.
Definition:
cc2538_soc_adc.h:41
Generated on Tue Nov 24 2020 19:46:49 by
1.8.17