PSG14a emulator V1.00
PSG14a emulator for stating GTD350 engine
gpio_exti.c File Reference

Contains GPIO and EXTI HAL functions. More...

#include "gpio_exti.h"
#include "stm32f0xx.h"
#include <stdint.h>
#include <stddef.h>
Include dependency graph for gpio_exti.c:

Data Structures

struct  Gpio_Hal_t
 GPIO pin description. More...
 

Enumerations

enum  Gpio_Mode_t { GPIO_MODE_IN = 0 , GPIO_MODE_OUT }
 Here are two modes only: out push/pull and in for button. More...
 

Functions

void EXTI4_15_IRQHandler (void)
 
void Exti_Clear_Pending (void)
 
void Gpio_Init (void)
 
void Gpio_Set_Pin (const Gpio_id_t Id)
 
void Gpio_Reset_Pin (const Gpio_id_t Id)
 
void Gpio_Reset_all_Outs (void)
 
uint8_t Gpio_Get_Pin (const Gpio_id_t Id)
 

Detailed Description

Contains GPIO and EXTI HAL functions.

mikl7.nosp@m.4@ya.nosp@m.hoo.c.nosp@m.om

Date
11-01-2019 Mykhaylo Shcherbak
Version
2.00

Enumeration Type Documentation

◆ Gpio_Mode_t

Here are two modes only: out push/pull and in for button.

Enumerator
GPIO_MODE_IN 
GPIO_MODE_OUT 

< Button < Channel or LED

Function Documentation

◆ EXTI4_15_IRQHandler()

void EXTI4_15_IRQHandler ( void )

◆ Exti_Clear_Pending()

void Exti_Clear_Pending ( void )

Referenced by main(), and Sleep_on().

◆ Gpio_Get_Pin()

uint8_t Gpio_Get_Pin ( const Gpio_id_t Id)

◆ Gpio_Init()

void Gpio_Init ( void )

◆ Gpio_Reset_all_Outs()

void Gpio_Reset_all_Outs ( void )

References GPIO_MODE_OUT, Gpio_Reset_Pin(), and GPIO_TOTAL.

Referenced by Sleep_on().

Here is the call graph for this function:

◆ Gpio_Reset_Pin()

◆ Gpio_Set_Pin()

void Gpio_Set_Pin ( const Gpio_id_t Id)