cd001725b7
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
87 lines
2.8 KiB
C
87 lines
2.8 KiB
C
/****************************************************************************
|
|
* boards/arm/kinetis/kwikstik-k40/src/k40_lcd.c
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright ownership. The
|
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
* "License"); you may not use this file except in compliance with the
|
|
* License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations
|
|
* under the License.
|
|
*
|
|
****************************************************************************/
|
|
|
|
/****************************************************************************
|
|
* Included Files
|
|
****************************************************************************/
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
#include <sys/types.h>
|
|
#include <assert.h>
|
|
#include <debug.h>
|
|
|
|
#include <nuttx/board.h>
|
|
#include <arch/board/board.h>
|
|
|
|
#include "arm_internal.h"
|
|
#include "kwikstik-k40.h"
|
|
|
|
/****************************************************************************
|
|
* Public Functions
|
|
****************************************************************************/
|
|
|
|
/****************************************************************************
|
|
* Name: board_lcd_initialize
|
|
*
|
|
* Description:
|
|
* Initialize the LCD video hardware.
|
|
* The initial state of the LCD is fully initialized, display memory
|
|
* cleared, and the LCD ready to use, but with the power setting at 0
|
|
* (full off).
|
|
*
|
|
****************************************************************************/
|
|
|
|
int board_lcd_initialize(void)
|
|
{
|
|
ginfo("Initializing\n");
|
|
#warning "Missing logic"
|
|
return OK;
|
|
}
|
|
|
|
/****************************************************************************
|
|
* Name: board_lcd_getdev
|
|
*
|
|
* Description:
|
|
* Return a a reference to the LCD object for the specified LCD.
|
|
* This allows support for multiple LCD devices.
|
|
*
|
|
****************************************************************************/
|
|
|
|
struct lcd_dev_s *board_lcd_getdev(int lcddev)
|
|
{
|
|
DEBUGASSERT(lcddev == 0);
|
|
#warning "Missing logic"
|
|
return NULL;
|
|
}
|
|
|
|
/****************************************************************************
|
|
* Name: board_lcd_uninitialize
|
|
*
|
|
* Description:
|
|
* Uninitialize the LCD support
|
|
*
|
|
****************************************************************************/
|
|
|
|
void board_lcd_uninitialize(void)
|
|
{
|
|
#warning "Missing logic"
|
|
}
|