Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 80725c5

Browse files
perigosoRafael Silva
authored andcommitted
rvswd: experimental native implementation (does not work yet!)
1 parent d1b2b5a commit 80725c5

7 files changed

Lines changed: 410 additions & 513 deletions

File tree

src/include/rvswd.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727

2828
/* Functions interface talking RVSWD */
2929
typedef struct rvswd_proc {
30+
/* Perform a start condition */
31+
void (*start)(void);
32+
/* Perform a start condition */
33+
void (*stop)(void);
3034
/* Perform a clock_cycles read */
3135
uint32_t (*seq_in)(size_t clock_cycles);
32-
/* Perform a clock_cycles read + parity */
33-
bool (*seq_in_parity)(uint32_t *ret, size_t clock_cycles);
3436
/* Perform a clock_cycles write with the provided data */
35-
void (*seq_out)(uint32_t tms_states, size_t clock_cycles);
36-
/* Perform a clock_cycles write + parity with the provided data */
37-
void (*seq_out_parity)(uint32_t tms_states, size_t clock_cycles);
37+
void (*seq_out)(uint32_t dio_states, size_t clock_cycles);
3838
} rvswd_proc_s;
3939

4040
extern rvswd_proc_s rvswd_proc;

0 commit comments

Comments
 (0)