bsp_tdk.c File Reference
Board support package for Touch Display Kit.
Copyright 2018 Silicon Laboratories Inc. www.silabs.com
The licensor of this software is Silicon Laboratories Inc.
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
- This notice may not be removed or altered from any source distribution.
Definition in file
|void *||BSP_getTftSRAMDirectDriveBaseAddress (void)|
|Get the TFT SRAM base address. |
|Initialize the flash. |
|Initialize the SRAM. |
|Initialize the TFT display. |
|void||BSP_setTftSRAMDirectDriveBaseAddress (void *baseAddressIn)|
|Set the TFT SRAM base address. The TFT address is updated according to the EBI_TFTCTRL_FBCTRIG bit. Default is every VSYNC. |
|static void||initEbiCommon (void)|
|Initialize common EBI settings (GPIO, power and pin routing) |
|static void||initGpio (void)|
|Initialize GPIO according to bsp_config.h. |
|static bool||BSP_ebiInitialized = false|
|static bool||BSP_flashInitialized = false|
|static bool||BSP_sramInitialized = false|
|static bool||BSP_tftInitialized = false|
Get the TFT SRAM base address.
- Pointer to current TFT base address
Definition at line
157 of file
|void BSP_setTftSRAMDirectDriveBaseAddress||(||void *||)|
Set the TFT SRAM base address. The TFT address is updated according to the EBI_TFTCTRL_FBCTRIG bit. Default is every VSYNC.
Start address for the TFT display. This has to be in the memory space corresponding to BSP_CONFIG_SRAM_EBI_BANK.
Definition at line
179 of file