WebRadioApp  0.1
ew_bsp_inout.c File Reference

This file is part of the interface (glue layer) between an Embedded Wizard generated UI application and the board support package (BSP) of a dedicated target. Please note: The implementation of this module is partially based on examples that are provided within the STM32 cube firmware. In case you want to adapt this module to your custom specific hardware, please adapt the hardware initialization code according your needs or integrate the generated initialization code created by using the tool CubeMX. This template provides access to some LEDs and buttons of the board. More...

#include "ewconfig.h"
#include "stm32h7xx_hal.h"
#include "stm32h7xx_hal_gpio.h"
#include "stm32h747i_discovery.h"
#include "ew_bsp_inout.h"
Include dependency graph for ew_bsp_inout.c:

Macros

#define EW_LED   LED1
 

Functions

void EwBspInOutInitButton (TButtonCallback aButtonCallback)
 Configures one hardware button of the board used for demo applications. More...
 
void EwBspInOutInitLed (void)
 Configures one LED of the board used for demo applications. More...
 
void EwBspInOutLedOn (void)
 Switch LED on. More...
 
void EwBspInOutLedOff (void)
 Switch LED off. More...
 
void EwBspInOutEventHandler (int aEventId)
 The function EwBspInOutEventHandler is called from the touch screen driver in case of an input event. More...
 

Variables

static TButtonCallback ButtonCallback = NULL
 

Detailed Description

This file is part of the interface (glue layer) between an Embedded Wizard generated UI application and the board support package (BSP) of a dedicated target. Please note: The implementation of this module is partially based on examples that are provided within the STM32 cube firmware. In case you want to adapt this module to your custom specific hardware, please adapt the hardware initialization code according your needs or integrate the generated initialization code created by using the tool CubeMX. This template provides access to some LEDs and buttons of the board.

Author
Kevin Bello (k.bel.nosp@m.lo@t.nosp@m.um.de)
Version
0.1
Date
2021-04-17