OpenOCD
|
This file implements support for STMicroelectronics debug protocol SWIM (Single Wire Interface Module). More...
Go to the source code of this file.
Data Structures | |
struct | swim_driver |
Macros | |
#define | SWIM_FREQ_HIGH 800 |
#define | SWIM_FREQ_LOW 363 |
Functions | |
int | swim_read_mem (uint32_t addr, uint32_t size, uint32_t count, uint8_t *buffer) |
int | swim_reconnect (void) |
int | swim_system_reset (void) |
int | swim_write_mem (uint32_t addr, uint32_t size, uint32_t count, const uint8_t *buffer) |
This file implements support for STMicroelectronics debug protocol SWIM (Single Wire Interface Module).
Definition in file swim.h.
int swim_read_mem | ( | uint32_t | addr, |
uint32_t | size, | ||
uint32_t | count, | ||
uint8_t * | buffer | ||
) |
Definition at line 29 of file swim.c.
References addr, buffer, count, swim_driver::read_mem, size, and adapter_driver::swim_ops.
Referenced by stm8_adapter_read_memory(), and stm8_read_u8().
int swim_reconnect | ( | void | ) |
Definition at line 45 of file swim.c.
References swim_driver::reconnect, and adapter_driver::swim_ops.
Referenced by stm8_examine().
int swim_system_reset | ( | void | ) |
Definition at line 22 of file swim.c.
References swim_driver::srst, and adapter_driver::swim_ops.
Referenced by stm8_reset_assert().
int swim_write_mem | ( | uint32_t | addr, |
uint32_t | size, | ||
uint32_t | count, | ||
const uint8_t * | buffer | ||
) |
Definition at line 37 of file swim.c.
References addr, buffer, count, size, adapter_driver::swim_ops, and swim_driver::write_mem.
Referenced by stm8_adapter_write_memory(), and stm8_write_u8().