#include <sys/types.h>
#include <stdint.h>
#include <dev/mweeprom.h>
#include <termios.h>
#include <unistd_orig.h>
Go to the source code of this file.
Data Structures | |
struct | uart_options_t |
struct | emulation_options_t |
Defines | |
#define | CONST const |
#define | INLINE inline |
#define | PSTR(p) (p) |
#define | PRG_RDB(p) (*((const char *)(p))) |
#define | prog_char const char |
#define | PGM_P prog_char * |
#define | main(...) NutAppMain(__VA_ARGS__) |
#define | strlen_P(x) strlen(x) |
#define | strcpy_P(x, y) strcpy(x,y) |
#define | strcmp_P(x, y) strcmp(x, y) |
#define | memcpy_P(x, y, z) memcpy(x, y, z) |
#define | RAMSTART ((void *)0x00100) |
#define | malloc(...) NUT_malloc(__VA_ARGS__) |
#define | realloc(...) NUT_realloc(__VA_ARGS__) |
#define | free(...) NUT_free(__VA_ARGS__) |
Enumerations | |
enum | { IRQ_TIMER0, IRQ_UART0_RX, IRQ_UART1_RX, IRQ_UART2_RX, IRQ_MAX } |
Functions | |
void | emulation_options_parse (int argc, char *argv[]) |
Variables | |
emulation_options_t | emulation_options |
Backwards compatibility defines | |
#define | eeprom_rb(addr) eeprom_read_byte ((uint8_t *)(uint32_t) (addr)) |
#define | eeprom_rw(addr) eeprom_read_word ((uint16_t *)(uint32_t) (addr)) |
#define | eeprom_wb(addr, val) eeprom_write_byte ((uint8_t *)(uint32_t) (addr), (val)) |
#define | E2END 0x0FFF |
#define | eeprom_is_ready() TRUE |
#define eeprom_is_ready | ( | ) | TRUE |
anonymous enum |
void emulation_options_parse | ( | int | argc, |
char * | argv[] | ||
) |