PSG14a emulator V1.00
PSG14a emulator for stating GTD350 engine
|
Contains GPIO and EXTI hardware abstraction layer prototypes. More...
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | Gpio_id_t { GPIO_CH0 = 0 , GPIO_CH1 , GPIO_CH2 , GPIO_CH3 , GPIO_CH4 , GPIO_CH5 , GPIO_CH6 , GPIO_CH7 , GPIO_LED , GPIO_BUTTON_START , GPIO_BUTTON_COLD , GPIO_TOTAL } |
enum | Buttons_t { BUTTON_NONE = 0 , BUTTON_START , BUTTON_COLD } |
Functions | |
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) |
void | Exti_Clear_Pending (void) |
uint8_t | Gpio_Get_Pin (const Gpio_id_t Id) |
Contains GPIO and EXTI hardware abstraction layer prototypes.
mikl7.nosp@m.4@ya.nosp@m.hoo.c.nosp@m.om Mykhaylo Shcherbak
enum Buttons_t |
enum Gpio_id_t |
void Exti_Clear_Pending | ( | void | ) |
Referenced by main(), and Sleep_on().
uint8_t Gpio_Get_Pin | ( | const Gpio_id_t | Id | ) |
References GPIO_MODE_IN, GPIO_TOTAL, Gpio_Hal_t::Mode, Gpio_Hal_t::Pin, and Gpio_Hal_t::port.
void Gpio_Init | ( | void | ) |
References GPIO_MODE_IN, GPIO_TOTAL, Gpio_Hal_t::Mode, Gpio_Hal_t::Pin, and Gpio_Hal_t::port.
Referenced by main().
void Gpio_Reset_all_Outs | ( | void | ) |
References GPIO_MODE_OUT, Gpio_Reset_Pin(), and GPIO_TOTAL.
Referenced by Sleep_on().
void Gpio_Reset_Pin | ( | const Gpio_id_t | Id | ) |
References GPIO_MODE_OUT, GPIO_TOTAL, Gpio_Hal_t::Mode, Gpio_Hal_t::Pin, and Gpio_Hal_t::port.
Referenced by Control_Outs(), Gpio_Reset_all_Outs(), and mainCyclePreRun().
void Gpio_Set_Pin | ( | const Gpio_id_t | Id | ) |
References GPIO_MODE_OUT, GPIO_TOTAL, Gpio_Hal_t::Mode, Gpio_Hal_t::Pin, and Gpio_Hal_t::port.
Referenced by Control_Outs(), and mainCyclePreRun().