GadgetSeed  0.9.6
irq.c ファイル

STM32F411 外部割り込み(EXTI)(IRQ) ドライバ [詳解]

#include "interrupt.h"
#include "device.h"
#include "device/irq_ioctl.h"
#include "tkprintf.h"
#include "stm32f4xx_hal.h"
#include "dkprintf.h"
irq.c の依存先関係図:

[ソースコード]

関数

static void MX_GPIO_Init (void)
 
static void init_gpio (void)
 
static void inthdr_exti15_10 (unsigned int intnum, void *sp)
 
static int irq_register (struct st_device *dev, char *param)
 
static int irq_ioctl (struct st_device *dev, unsigned int com, unsigned int arg, void *param)
 

変数

static unsigned char flg_have_int = 0
 
static void(* inth_func )(unsigned int intnum, void *sp)
 
const struct st_device irq_device
 

詳解

STM32F411 外部割り込み(EXTI)(IRQ) ドライバ

日付
2015.10.13
著者
Takashi SHUDO
覚え書き

EXTI0 PA0 - PI0

PH0 IRQ0

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

変数詳解

◆ irq_device

const struct st_device irq_device
初期値:
= {
.explan = "STM32F4 EXIT0-15",
.register_dev = irq_register,
.ioctl = irq_ioctl,
}
#define DEF_DEV_NAME_IRQ
標準外部割り込み(IRQ)ドライバ名
Definition: irq_ioctl.h:15

irq.c121 行目に定義があります。