ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Macros | Typedefs
cpu.h File Reference

Master Include for FatFs, RTC, Timers AVR8 - Part of HP85 disk emulator. More...

#include <osapi.h>
#include <os_type.h>
#include <c_types.h>
#include "spi_register.h"
#include <ets_sys.h>
#include <ip_addr.h>
#include <espconn.h>
#include <gpio.h>
#include <user_interface.h>
#include <mem.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdarg.h>
#include <eagle_soc.h>
#include "esp8266/bits.h"
#include "esp8266/system.h"

Go to the source code of this file.

Macros

#define F_CPU   80000000UL
 
#define ESP8266
 
#define MEMSPACE   ICACHE_FLASH_ATTR
 
#define MEMSPACE_RO   ICACHE_RODATA_ATTR
 
#define MEMSPACE_FONT   ICACHE_FLASH_ATTR
 
#define NULL   ((void *) 0)
 
#define true   1
 
#define false   0
 
#define _SIZE_T
 
#define SYSTEM_TASK_HZ   1000L
 user task rate for software timers More...
 
#define Mem_Clear(a)   memset(a, 0, sizeof(a))
 macros to simplify filling buffers More...
 
#define Mem_Set(a, b)   memset(a, (int) b, sizeof(a))
 
#define snprintf(s, size, format, args...)   rs232_snprintf(s, size, PSTR(format), ##args)
 
#define sprintf(s, format, args...)   rs232_snprintf(s, 80, PSTR(format), ##args)
 

Typedefs

typedef unsigned long int size_t
 

Detailed Description

Master Include for FatFs, RTC, Timers AVR8 - Part of HP85 disk emulator.

Edit History
  • [1.0] [Mike Gore] Initial revision of file.
Copyright © 2014 Mike Gore, Inc. All rights reserved.

Definition in file cpu.h.

Macro Definition Documentation

#define _SIZE_T

Definition at line 63 of file cpu.h.

#define ESP8266

Definition at line 21 of file cpu.h.

#define F_CPU   80000000UL

Definition at line 17 of file cpu.h.

#define false   0

Definition at line 60 of file cpu.h.

#define Mem_Clear (   a)    memset(a, 0, sizeof(a))

macros to simplify filling buffers

Definition at line 72 of file cpu.h.

#define Mem_Set (   a,
 
)    memset(a, (int) b, sizeof(a))

Definition at line 73 of file cpu.h.

#define MEMSPACE   ICACHE_FLASH_ATTR

Definition at line 25 of file cpu.h.

Referenced by _fprintf_putc(), _printf_fn(), _putc_buffer_fn(), _putc_win_len(), _puts_pad(), _uart0_fn(), _write_byte_fn(), Adjugate(), arg_name(), arg_value(), asctime(), asctime_r(), atodigit(), atoh(), atoi(), atol(), aton(), baseext(), basename(), BCDtoBIN(), BINtoBCD(), calloc(), cat(), chdir(), check_fs(), chk_chr(), chmod(), Circular(), clmt_clust(), clock_clear(), clock_elapsed_begin(), clock_elapsed_end(), clock_getres(), clock_set(), clock_settime(), clock_task(), close(), clrerror(), clust2sect(), cmp_lfn(), Cofactor(), copy(), cordic_deg(), cordic_quad(), cordic_rad(), create_chain(), create_connection(), create_name(), ctime(), ctime_gm(), ctime_r(), Days_Per_Month(), Days_Per_Year(), deg2rad(), delete_all_timers(), delete_connection(), DeleteRowCol(), deselect(), Determinant(), dir_alloc(), dir_find(), dir_next(), dir_read(), dir_register(), dir_remove(), dir_sdi(), dirname(), disable_timers(), display_ipv4(), dump_stat(), f_chdir(), f_chmod(), f_close(), f_closedir(), f_expand(), f_findfirst(), f_findnext(), f_getcwd(), f_getfree(), f_getlabel(), f_lseek(), f_mkdir(), f_mkfs(), f_mount(), f_open(), f_opendir(), f_putc(), f_puts(), f_read(), f_readdir(), f_rename(), f_setlabel(), f_stat(), f_sync(), f_truncate(), f_unlink(), f_utime(), f_write(), fat_time_to_unix(), fatfs_fstype(), fatfs_getc(), fatfs_help(), fatfs_ls(), fatfs_putc(), fatfs_scan_files(), fatfs_status(), fatfs_tests(), fatfs_to_errno(), fatfs_to_fileno(), fclose(), feof(), ferror(), fgetc(), fgetpos(), fgets(), file_type(), fileno(), fileno_to_fatfs(), fileno_to_stream(), find_connection(), find_dst(), find_volume(), finddayofweek(), first_arg(), follow_path(), fopen(), fputc(), fputs(), fread(), free(), free_file_descriptor(), freeRam(), fseek(), fsetpos(), ftell(), ftruncate(), fwrite(), gen_numname(), get_achar(), get_fat(), get_fattime(), get_fileinfo(), get_ldnumber(), get_token(), get_value(), getchar(), getcwd(), gettimeofday(), gettimezone(), gmtime(), gmtime_r(), heapify(), heapsort(), html_head(), html_msg(), html_status(), http_value(), init_hinfo(), init_timers(), initialize_clock(), Invert(), ipv4_2str(), is_cgitoken_char(), is_dst(), is_header(), IS_Leap(), isatty(), isdigit(), islower(), isupper(), kill_timer(), ld_clust(), Leap_Days_Since_1900(), led_off(), led_on(), localtime(), localtime_r(), logfile(), loop(), ls(), ls_info(), lseek(), malloc(), MatAlloc(), MatAllocSQ(), MATCH(), match_headers(), MATCH_LEN(), MATCHARGS(), MATCHI(), MATCHI_LEN(), MatFree(), MatLoad(), MatLoadSQ(), MatMul(), MatPrint(), MatRead(), mctime(), mem_cmp(), mem_cpy(), mem_set(), memchr(), memgets(), meminit(), mime_type(), Minor(), mkdir(), mkfs(), mktime(), mmc_disk_initialize(), mmc_disk_read(), mmc_disk_status(), mmc_init(), mmc_ins_status(), mmc_power_off(), mmc_power_on(), mmc_set_ms_timeout(), mmc_spi_TXRX(), mmc_task(), mmc_test(), mmc_test_timeout(), move_window(), ms_clear(), ms_task(), mul10str(), myrand(), mysrand(), new_file_descriptor(), next_arg(), nextbreak(), nextspace(), normalize(), open(), p_ntoa(), parse_http_request(), pattern_matching(), pch(), pch_ind(), pch_init(), pch_max_ind(), perror(), pick_lfn(), posix_fopen_modes_to_open(), posix_help(), posix_tests(), power_on(), print_dst(), print_dst_gmt(), print_flags(), PrintRam(), process_args(), PseudoInvert(), put_fat(), put_lfn(), putc(), putc_bfd(), putc_flush(), putc_init(), putchar(), puts(), rcvr_datablock(), read(), readdir(), remove_chain(), rename(), reset(), reverse(), rewind(), rmdir(), rotate(), rtc_init(), rtc_read(), rtc_run(), rtc_run_test(), rtc_write(), rwbuf_create(), rwbuf_delete(), rwbuf_rinit(), rwbuf_winit(), rx_fifo_empty(), rx_fifo_flush(), rx_fifo_free(), rx_fifo_getb(), rx_fifo_read(), rx_fifo_used(), safecalloc(), safefree(), safemalloc(), scale_point(), select(), send_cmd(), sep(), servertest_message(), servertest_receive(), set_dst(), set_timers(), setdate(), setdate_r(), setpage(), settimeofday(), settimezone(), shift_point(), skipchars(), skipspaces(), snprintf(), sock_printf(), split_args(), st_dword(), stat(), strcasecmp(), strcat(), strcmp(), strcpy(), strerror(), strerror_r(), strlen(), strnalloc(), strncasecmp(), strncat(), strncmp(), strncpy(), strtol(), strtoll(), strupper(), sum(), sum_sfn(), sync(), sync_fs(), sync_window(), syncfs(), tcp_accept(), test_types(), testpage(), TestSquare(), tft_565toRGB(), tft_Bezier3(), tft_cleareol(), tft_clip_xy(), tft_configRegister(), tft_drawBitmap(), tft_drawCircle(), tft_drawCircleHelper(), tft_drawRect(), tft_drawRoundRect(), tft_drawTriangle(), tft_fillCircle(), tft_fillCircleHelper(), tft_fillRoundRect(), tft_font_fixed(), tft_invertDisplay(), tft_readPixel(), tft_readRegister(), tft_rel_window(), tft_set_font(), tft_set_textpos(), tft_setpos(), tft_setTextColor(), tft_spi_RX(), tft_window_clip(), tft_window_clip_args(), tft_window_init(), time(), time_to_tm(), timegm(), tm2epoch(), tm_mon_to_ascii(), tm_to_fat(), token(), tolower(), toupper(), Transpose(), trim_tail(), truncate(), ts_to_str(), tx_fifo_empty(), tx_fifo_free(), tx_fifo_putb(), tx_fifo_used(), tx_fifo_write(), u5toa(), uart0_getc(), uart0_putc(), uart1_getc(), uart1_putc(), uart_flush(), uart_getb(), uart_getc(), uart_putb(), uart_putc(), ungetc(), unix_time_to_fat(), user_help(), user_tests(), utime(), validate(), vsnprintf(), vsock_printf(), wait_ready(), wait_send(), web_data_connect_callback(), web_data_disconnect_callback(), web_data_error_callback(), web_data_receive_callback(), web_data_sent_callback(), web_sep(), wifi_event_cb(), write(), write_buffer(), write_byte(), write_flush(), write_len(), write_str(), and xmit_spi_multi().

#define MEMSPACE_FONT   ICACHE_FLASH_ATTR

Definition at line 34 of file cpu.h.

#define MEMSPACE_RO   ICACHE_RODATA_ATTR

Definition at line 29 of file cpu.h.

#define NULL   ((void *) 0)
#define snprintf (   s,
  size,
  format,
  args... 
)    rs232_snprintf(s, size, PSTR(format), ##args)

Definition at line 81 of file cpu.h.

Referenced by AddFontName(), asctime_r(), html_msg(), ipv4_2str(), ts_to_str(), u5toa(), and wifi_event_cb().

#define sprintf (   s,
  format,
  args... 
)    rs232_snprintf(s, 80, PSTR(format), ##args)

Definition at line 85 of file cpu.h.

Referenced by main().

#define SYSTEM_TASK_HZ   1000L

user task rate for software timers

Definition at line 68 of file cpu.h.

#define true   1

Definition at line 59 of file cpu.h.

Typedef Documentation

typedef unsigned long int size_t

Definition at line 64 of file cpu.h.