GadgetSeed  0.9.6
adc.c ファイル

STM32F7 ADC(GPIO PA6) [詳解]

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

[ソースコード]

関数

static 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 long adc_read (struct st_device *dev, unsigned char *data, long size)
 

変数

ADC_HandleTypeDef hadc1
 
const device adc_device
 

詳解

STM32F7 ADC(GPIO PA6)

日付
2017.02.04
著者
Takashi SHUDO

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

変数詳解

◆ adc_device

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

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