GadgetSeed  0.9.6
adc.c ファイル

STM32 ADC(GPIO PC0) [詳解]

#include "device.h"
#include "system.h"
#include "stm32f4xx_hal.h"
adc.c の依存先関係図:

[ソースコード]

関数

void MX_ADC1_Init (void)
 
void HAL_ADC_MspInit (ADC_HandleTypeDef *hadc)
 
static int adc_register (struct st_device *dev, char *param)
 
static int adc_open (struct st_device *dev)
 
static int adc_close (struct st_device *dev)
 
static int adc_read (struct st_device *dev, void *data, unsigned int size)
 

変数

ADC_HandleTypeDef hadc1
 
const struct st_device adc_device
 

詳解

STM32 ADC(GPIO PC0)

日付
2015.08.31
著者
Takashi SHUDO

adc.c に定義があります。

変数詳解

◆ adc_device

const struct st_device adc_device
初期値:
= {
.name = "adc",
.explan = "STM32F4 ADC(GPIO PC0)",
.register_dev = adc_register,
.open = adc_open,
.close = adc_close,
.read = adc_read,
}

adc.c94 行目に定義があります。