1
0
This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
RealtimeOscilloscope/ide-touchgfx-gen/TouchGFX/target/TouchGFXGPIO.cpp
2024-01-13 19:15:18 +01:00

77 lines
1.6 KiB
C++

/**
******************************************************************************
* File Name : TouchGFXGPIO.cpp
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Liberty license
* SLA0044, the "License"; You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
* www.st.com/SLA0044
*
******************************************************************************
*/
#include <touchgfx/hal/GPIO.hpp>
/**
* GPIO_ID Enum, these are used bt TouchGFX framework to signal events.
*
* VSYNC_FREQ, /// Pin is toggled at each VSYNC
* RENDER_TIME, /// Pin is high when frame rendering begins, low when finished
* FRAME_RATE, /// Pin is toggled when the frame buffers are swapped.
* MCU_ACTIVE /// Pin is high when framework is utilizing the MCU.
*
*/
/* USER CODE BEGIN TouchGFXGPIO.cpp */
using namespace touchgfx;
/*
* Perform configuration of IO pins.
*/
void GPIO::init()
{
}
/*
* Sets a pin high.
*/
void GPIO::set(GPIO_ID id)
{
}
/*
* Sets a pin low.
*/
void GPIO::clear(GPIO_ID id)
{
}
/*
* Toggles a pin.
*/
void GPIO::toggle(GPIO_ID id)
{
}
/*
* Gets the state of a pin.
*/
bool GPIO::get(GPIO_ID id)
{
return false;
}
/* USER CODE END TouchGFXGPIO.cpp */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/