Choco OS
V.0.16.9.0
Join to the chocolate world
|
The file with source for LCDTFT driver interface. More...
#include <oc_lcdtft.h>
#include <oc_lcdtft_lld.h>
#include <oc_compiler.h>
#include <oc_module.h>
#include <oc_intman.h>
#include <oc_null.h>
#include <oc_gpio.h>
#include <string.h>
#include <oc_driver.h>
Go to the source code of this file.
Data Structures | |
struct | Context_t |
stores ETH context More... | |
Functions | |
static bool | IsContextCorrect (oC_LCDTFT_Context_t Context) |
Checks if the context of the LCDTFT driver is correct. | |
static oC_ErrorCode_t | Context_New (const oC_LCDTFT_Config_t *Config, oC_LCDTFT_Context_t *outContext) |
static oC_ErrorCode_t | Context_Delete (oC_LCDTFT_Context_t *outContext) |
oC_ErrorCode_t | oC_LCDTFT_TurnOn (void) |
turns on the module More... | |
oC_ErrorCode_t | oC_LCDTFT_TurnOff (void) |
Turns off the LCDTFT driver. More... | |
bool | oC_LCDTFT_IsTurnedOn (void) |
checks if the driver is turned on More... | |
oC_ErrorCode_t | oC_LCDTFT_Configure (const oC_LCDTFT_Config_t *Config, oC_LCDTFT_Context_t *outContext) |
configures LCDTFT pins to work More... | |
oC_ErrorCode_t | oC_LCDTFT_Unconfigure (const oC_LCDTFT_Config_t *Config, oC_LCDTFT_Context_t *outContext) |
Unconfigures the driver. More... | |
oC_ErrorCode_t | oC_LCDTFT_Ioctl (oC_LCDTFT_Context_t Context, oC_Ioctl_Command_t Command, void *Data) |
handles input/output driver commands More... | |
Variables | |
static const oC_Allocator_t | Allocator |
File based on driver.c Ver 1.1.0
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_lcdtft.c.
|
static |
Release all memory needed by context
Definition at line 523 of file oc_lcdtft.c.
|
static |
Allocates all memory needed by context
Definition at line 482 of file oc_lcdtft.c.
|
static |
The 'Allocator' for this driver. It should be used for all LCDTFT driver kernel allocations.
Definition at line 117 of file oc_lcdtft.c.