NinjaFlight
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
exti.h
Go to the documentation of this file.
1
/*
2
* This file is part of Ninjaflight.
3
*
4
* Ninjaflight is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* Ninjaflight is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with Ninjaflight. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
19
#pragma once
20
21
typedef
struct
extiConfig_s
{
22
#ifdef STM32F303
23
uint32_t gpioAHBPeripherals;
24
#endif
25
#ifdef STM32F10X
26
uint32_t gpioAPB2Peripherals;
27
#endif
28
uint16_t
gpioPin
;
29
GPIO_TypeDef
*
gpioPort
;
30
31
uint8_t
exti_port_source
;
32
uint32_t
exti_line
;
33
uint8_t
exti_pin_source
;
34
IRQn_Type
exti_irqn
;
35
}
extiConfig_t
;
extiConfig_s::gpioPort
GPIO_TypeDef * gpioPort
Definition:
exti.h:29
extiConfig_s::exti_line
uint32_t exti_line
Definition:
exti.h:32
extiConfig_t
struct extiConfig_s extiConfig_t
extiConfig_s::exti_irqn
IRQn_Type exti_irqn
Definition:
exti.h:34
extiConfig_s
Definition:
exti.h:21
IRQn_Type
IRQn_Type
Definition:
platform.h:56
GPIO_TypeDef
Definition:
platform.h:43
extiConfig_s::gpioPin
uint16_t gpioPin
Definition:
exti.h:28
extiConfig_s::exti_pin_source
uint8_t exti_pin_source
Definition:
exti.h:33
extiConfig_s::exti_port_source
uint8_t exti_port_source
Definition:
exti.h:31
src
main
drivers
exti.h
Generated on Mon Dec 12 2016 15:48:45 for NinjaFlight by
1.8.7