Miko Gitlab Repository

Commit b9ec788c authored by swapnil.nerkar's avatar swapnil.nerkar
Browse files

lvgl lib updated

parent 88d6f501
No related merge requests found
/*
* gpio.h
*
* Author: Swapnil N
*/
#pragma once
#ifndef GPIO_H
#define GPIO_H
// C library headers
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
LOW = 0,
HIGH = 1,
read_error = 2,
}gpio_status;
typedef enum
{
PA = 0,
PB = 1,
PC = 2,
PD = 3,
}gpio_port;
typedef enum
{
IN = 0,
OUT = 1,
}gpio_mode;
int8_t gpio_init(gpio_port port,int pin, gpio_mode mode);
int8_t gpio_toggle_out(gpio_port port,int pin, gpio_status status);
gpio_status gpio_status_read(gpio_port port,int pin);
int8_t gpio_main();
#ifdef __cplusplus
}
#endif
#endif /* GPIO_H */
\ No newline at end of file
......@@ -356,8 +356,8 @@ extern uint32_t custom_tick_get(void);
/*Demonstrate special features*/
#define LV_FONT_MONTSERRAT_12_SUBPX 0
#define LV_FONT_MONTSERRAT_28_COMPRESSED 0 /*bpp = 3*/
#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 0 /*Hebrew, Arabic, Persian letters and all their forms*/
#define LV_FONT_SIMSUN_16_CJK 0 /*1000 most common CJK radicals*/
#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 1 /*Hebrew, Arabic, Persian letters and all their forms*/
#define LV_FONT_SIMSUN_16_CJK 1 /*1000 most common CJK radicals*/
/*Pixel perfect monospace fonts*/
#define LV_FONT_UNSCII_8 0
......
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment