diff options
Diffstat (limited to 'iceprog/mpsse.h')
-rw-r--r-- | iceprog/mpsse.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iceprog/mpsse.h b/iceprog/mpsse.h index af8e045..961cfa5 100644 --- a/iceprog/mpsse.h +++ b/iceprog/mpsse.h @@ -27,8 +27,9 @@ void mpsse_send_byte(uint8_t data); void mpsse_send_spi(uint8_t *data, int n); void mpsse_xfer_spi(uint8_t *data, int n); uint8_t mpsse_xfer_spi_bits(uint8_t data, int n); -void mpsse_set_gpio(int slavesel_b, int creset_b); -int mpsse_get_cdone(void); +void mpsse_set_gpio(uint8_t gpio, uint8_t direction); +int mpsse_readb_low(void); +int mpsse_readb_high(void); void mpsse_send_dummy_bytes(uint8_t n); void mpsse_send_dummy_bit(void); void mpsse_init(int ifnum, const char *devstr, bool slow_clock); |