![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <types.h>#include <config.h>#include <log.h>#include <timer.h>#include <common.h>#include <jmp.h>#include <mmu.h>#include <smalloc.h>#include <sstdlib.h>#include <string.h>#include <cli.h>#include <cli_shell.h>#include <cli_termesc.h>#include <reg-ncat.h>#include <sys-clk.h>#include <sys-dram.h>#include <sys-i2c.h>#include <sys-rtc.h>#include <sys-sdcard.h>#include <sys-sid.h>#include <sys-spi.h>#include <pmu/axp.h>#include <fdt_wrapper.h>#include <ff.h>#include <sys-sdhci.h>#include <uart.h>
Macros | |
| #define | CONFIG_HEAP_BASE (0x40800000) |
| #define | CONFIG_HEAP_SIZE (16 * 1024 * 1024) |
| #define | LCD_W 135 |
| #define | LCD_H 240 |
Functions | |
| void | set_rpio_power_mode (void) |
| void | rtc_set_vccio_det_spare (void) |
| static void | LCD_Set_DC (uint8_t val) |
| static void | LCD_Set_RES (uint8_t val) |
| static void | LCD_Write_Bus (uint8_t dat) |
| void | LCD_Write_Data_Bus (void *dat, uint32_t len) |
| void | LCD_WR_DATA (uint16_t dat) |
| void | LCD_WR_DATA8 (uint8_t dat) |
| void | LCD_WR_REG (uint8_t dat) |
| void | LCD_Address_Set (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) |
| static void | LCD_Init (void) |
| void | LCD_Fill_All (uint16_t color) |
| int | main (void) |
Variables | |
| sunxi_serial_t | uart_dbg |
| sunxi_i2c_t | i2c_pmu |
| sunxi_dma_t | sunxi_dma |
| uint32_t | dram_para [32] |
| sunxi_spi_t | sunxi_spi0_lcd |
| static gpio_mux_t | lcd_dc_pins |
| static gpio_mux_t | lcd_res_pins |
| static gpio_mux_t | lcd_blk_pins |
| #define CONFIG_HEAP_BASE (0x40800000) |
| #define CONFIG_HEAP_SIZE (16 * 1024 * 1024) |
| #define LCD_H 240 |
| #define LCD_W 135 |
| void LCD_Fill_All | ( | uint16_t | color | ) |
|
static |
|
static |
|
static |
| void LCD_WR_DATA | ( | uint16_t | dat | ) |
| void LCD_WR_DATA8 | ( | uint8_t | dat | ) |
| void LCD_WR_REG | ( | uint8_t | dat | ) |
|
static |
| void LCD_Write_Data_Bus | ( | void * | dat, |
| uint32_t | len | ||
| ) |
| int main | ( | void | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
static |
|
static |
|
static |
|
extern |
| sunxi_spi_t sunxi_spi0_lcd |
|
extern |