OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | cable |
Functions | |
COMMAND_HANDLER (parport_handle_cable_command) | |
COMMAND_HANDLER (parport_handle_port_command) | |
COMMAND_HANDLER (parport_handle_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 (bool 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_cable_command | ) |
Definition at line 416 of file parport.c.
References CMD_ARGC, CMD_ARGV, ERROR_FAIL, ERROR_OK, LOG_ERROR, and parport_cable.
COMMAND_HANDLER | ( | parport_handle_port_command | ) |
Definition at line 399 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_toggling_time_command | ) |
Definition at line 447 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 437 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 264 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 213 of file parport.c.
References ERROR_FAIL, ERROR_OK, LOG_DEBUG, and parport_toggling_time_ns.
|
static |
Definition at line 195 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 383 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 118 of file parport.c.
References BB_HIGH, BB_LOW, cable::input_invert, statusport, and cable::tdo_mask.
|
static |
Definition at line 176 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 207 of file parport.c.
References ERROR_OK, and wait_states.
|
static |
|
static |
Definition at line 150 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 134 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 114 of file parport.c.
Referenced by parport_init(), and parport_write_data().
|
static |
Definition at line 109 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 224 of file parport.c.
Referenced by parport_init().
|
static |
Definition at line 101 of file parport.c.
Referenced by COMMAND_HANDLER(), parport_init(), and parport_quit().
|
static |
|
static |
Definition at line 103 of file parport.c.
Referenced by COMMAND_HANDLER(), and parport_quit().
|
static |
|
static |
Definition at line 102 of file parport.c.
Referenced by COMMAND_HANDLER(), and parport_init().
|
static |
|
static |
Definition at line 104 of file parport.c.
Referenced by COMMAND_HANDLER(), and parport_khz().
|
static |
Definition at line 115 of file parport.c.
Referenced by parport_init(), and parport_read().
|
static |
Definition at line 105 of file parport.c.
Referenced by COMMAND_HANDLER(), parport_speed(), and parport_write().