OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | cable |
Functions | |
COMMAND_HANDLER (parport_handle_parport_cable_command) | |
COMMAND_HANDLER (parport_handle_parport_port_command) | |
COMMAND_HANDLER (parport_handle_parport_toggling_time_command) | |
COMMAND_HANDLER (parport_handle_write_on_exit_command) | |
static int | parport_init (void) |
static int | parport_khz (int khz, int *jtag_speed) |
static int | parport_led (int on) |
static int | parport_quit (void) |
static bb_value_t | parport_read (void) |
static int | parport_reset (int trst, int srst) |
static int | parport_speed (int speed) |
static int | parport_speed_div (int speed, int *khz) |
static int | parport_write (int tck, int tms, int tdi) |
static void | parport_write_data (void) |
Variables | |
static const struct cable * | cable |
static const struct cable | cables [] |
static unsigned long | dataport |
static uint8_t | dataport_value |
struct adapter_driver | parport_adapter_driver |
static struct bitbang_interface | parport_bitbang |
static char * | parport_cable |
static const struct command_registration | parport_command_handlers [] |
static bool | parport_exit |
static struct jtag_interface | parport_interface |
static uint16_t | parport_port |
static const struct command_registration | parport_subcommand_handlers [] |
static uint32_t | parport_toggling_time_ns = 1000 |
static unsigned long | statusport |
static int | wait_states |
COMMAND_HANDLER | ( | parport_handle_parport_cable_command | ) |
COMMAND_HANDLER | ( | parport_handle_parport_port_command | ) |
Definition at line 391 of file parport.c.
References CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), ERROR_FAIL, ERROR_OK, LOG_ERROR, and parport_port.
COMMAND_HANDLER | ( | parport_handle_parport_toggling_time_command | ) |
Definition at line 435 of file parport.c.
References adapter_get_speed(), CMD, CMD_ARGC, CMD_ARGV, command_print(), ERROR_FAIL, ERROR_OK, LOG_ERROR, LOG_INFO, parport_toggling_time_ns, and wait_states.
COMMAND_HANDLER | ( | parport_handle_write_on_exit_command | ) |
Definition at line 425 of file parport.c.
References CMD_ARGC, CMD_ARGV, COMMAND_PARSE_ON_OFF, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, and parport_exit.
|
static |
Definition at line 256 of file parport.c.
References buffer, cables, dataport, dataport_value, ERROR_FAIL, ERROR_JTAG_INIT_FAILED, ERROR_OK, LOG_DEBUG, LOG_ERROR, LOG_WARNING, cable::name, parport_bitbang, parport_cable, parport_led(), parport_port, parport_reset(), parport_write(), cable::PORT_INIT, and statusport.
|
static |
Definition at line 205 of file parport.c.
References ERROR_FAIL, ERROR_OK, LOG_DEBUG, and parport_toggling_time_ns.
|
static |
Definition at line 187 of file parport.c.
References dataport_value, ERROR_OK, cable::LED_MASK, and parport_write_data().
Referenced by parport_init(), and parport_quit().
|
static |
Definition at line 375 of file parport.c.
References dataport_value, ERROR_FAIL, ERROR_OK, NULL, parport_cable, parport_exit, parport_led(), parport_write_data(), and cable::PORT_EXIT.
|
static |
Definition at line 109 of file parport.c.
References BB_HIGH, BB_LOW, cable::INPUT_INVERT, statusport, and cable::TDO_MASK.
|
static |
Definition at line 167 of file parport.c.
References dataport_value, ERROR_OK, LOG_DEBUG, parport_write_data(), cable::SRST_MASK, and cable::TRST_MASK.
Referenced by parport_init().
|
static |
Definition at line 199 of file parport.c.
References ERROR_OK, and wait_states.
|
static |
|
static |
Definition at line 141 of file parport.c.
References dataport_value, ERROR_OK, parport_write_data(), cable::TCK_MASK, cable::TDI_MASK, cable::TMS_MASK, and wait_states.
Referenced by parport_init().
|
inlinestatic |
Definition at line 125 of file parport.c.
References dataport, dataport_value, output, and cable::OUTPUT_INVERT.
Referenced by parport_led(), parport_quit(), parport_reset(), and parport_write().
|
static |
Definition at line 1 of file parport.c.
Referenced by parport_init().
|
static |
Definition at line 105 of file parport.c.
Referenced by parport_init(), and parport_write_data().
|
static |
Definition at line 100 of file parport.c.
Referenced by parport_init(), parport_led(), parport_quit(), parport_reset(), parport_write(), and parport_write_data().
struct adapter_driver parport_adapter_driver |
|
static |
Definition at line 216 of file parport.c.
Referenced by parport_init().
|
static |
Definition at line 91 of file parport.c.
Referenced by COMMAND_HANDLER(), parport_init(), and parport_quit().
|
static |
|
static |
Definition at line 93 of file parport.c.
Referenced by COMMAND_HANDLER(), and parport_quit().
|
static |
|
static |
Definition at line 92 of file parport.c.
Referenced by COMMAND_HANDLER(), and parport_init().
|
static |
|
static |
Definition at line 94 of file parport.c.
Referenced by COMMAND_HANDLER(), and parport_khz().
|
static |
Definition at line 106 of file parport.c.
Referenced by parport_init(), and parport_read().
|
static |
Definition at line 95 of file parport.c.
Referenced by COMMAND_HANDLER(), parport_speed(), and parport_write().