FabGL
ESP32 VGA Controller and Graphics Library
|
#include <strings.h>
#include "freertos/FreeRTOS.h"
#include "esp32/ulp.h"
#include "driver/rtc_io.h"
#include "soc/sens_reg.h"
#include "ps2controller.h"
#include "utils.h"
Namespaces | |
fabgl | |
Functions | |
void | fabgl::replace_placeholders (uint32_t prg_start, int size, gpio_num_t clkGPIO, gpio_num_t datGPIO) |
Variables | |
fabgl::PS2ControllerClass | PS2Controller |
const ulp_insn_t | fabgl::ULPCode [] |
#define ALU_SEL_STAGE_DEC 1 |
#define ALU_SEL_STAGE_INC 0 |
#define ALU_SEL_STAGE_RST 2 |
#define CLK_ENABLE_INPUT | ( | value | ) |
#define CLK_ENABLE_OUTPUT | ( | value | ) |
#define CONFIGURE_CLK_INPUT | ( | ) |
#define CONFIGURE_CLK_OUTPUT | ( | ) |
#define CONFIGURE_DAT_INPUT | ( | ) |
#define CONFIGURE_DAT_OUTPUT | ( | ) |
#define DAT_ENABLE_INPUT | ( | value | ) |
#define DAT_ENABLE_OUTPUT | ( | value | ) |
#define I_STAGEBGE | ( | pc_offset, | |
imm_value | |||
) |
#define I_STAGEBL | ( | pc_offset, | |
imm_value | |||
) |
#define I_STAGEBLE | ( | pc_offset, | |
imm_value | |||
) |
#define I_STAGEDECI | ( | imm_ | ) |
#define I_STAGEINCI | ( | imm_ | ) |
#define I_STAGERSTI | ( | ) |
#define M_STAGEBGE | ( | label_num, | |
imm_value | |||
) |
#define M_STAGEBL | ( | label_num, | |
imm_value | |||
) |
#define M_STAGEBLE | ( | label_num, | |
imm_value | |||
) |
#define MODE_RECEIVE 0 |
#define MODE_SEND 1 |
#define OPCODE_PLACEHOLDER 12 |
#define READ_CLK | ( | ) |
#define READ_DAT | ( | ) |
#define READY_TO_RECEIVE 0 |
#define RECEIVE_NEXT_BIT 2 |
#define RECEIVE_NEXT_WORD 1 |
#define RECEIVE_WAIT_FOR_CLK_HIGH 3 |
#define RECEIVE_WORD_READY 4 |
#define RTC_MEM_BUFFER_BTM 0x405 |
#define RTC_MEM_BUFFER_TOP 0x800 |
#define RTC_MEM_MODE 0x400 |
#define RTC_MEM_PROG_START 0x000 |
#define RTC_MEM_SEND_WORD 0x401 |
#define RTC_MEM_WORD_RECEIVED_FLAG 0x404 |
#define RTC_MEM_WORD_SENT_FLAG 0x403 |
#define RTC_MEM_WRITE_POS 0x402 |
#define SEND_NEXT_BIT 6 |
#define SEND_WAIT_FOR_CLK_HIGH 7 |
#define SEND_WORD 5 |
#define SUB_OPCODE_CLK_ENABLE_INPUT 3 |
#define SUB_OPCODE_CLK_ENABLE_OUTPUT 2 |
#define SUB_OPCODE_DAT_ENABLE_INPUT 1 |
#define SUB_OPCODE_DAT_ENABLE_OUTPUT 0 |
#define SUB_OPCODE_READ_CLK 4 |
#define SUB_OPCODE_READ_DAT 5 |
#define SUB_OPCODE_STAGEB 2 |
#define SUB_OPCODE_WRITE_CLK 6 |
#define SUB_OPCODE_WRITE_DAT 7 |
#define WRITE_CLK | ( | value | ) |
#define WRITE_DAT | ( | value | ) |
#define WRITE_DAT_R0 | ( | ) |
fabgl::PS2ControllerClass PS2Controller |