summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/hhd70dongle.c
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:40 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:40 +0000
commit464fa0657e41111d93bed08212f621deeda6b909 (patch)
tree76c86d28c1e7d61289fcf543b7c757a2c58e8645 /software/hhd70dongle/hhd70dongle.c
parentregularly flush stdout (diff)
actually burst read registers instead of writing them
git-svn-id: https://svn.spreadspace.org/mur.sat@425 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/hhd70dongle.c')
-rw-r--r--software/hhd70dongle/hhd70dongle.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/software/hhd70dongle/hhd70dongle.c b/software/hhd70dongle/hhd70dongle.c
index 46b0305..ffef466 100644
--- a/software/hhd70dongle/hhd70dongle.c
+++ b/software/hhd70dongle/hhd70dongle.c
@@ -103,6 +103,21 @@ int main(void)
usb_rawhid_send((uint8_t*)"c1101 rx bytes:",255);
debug_sprint_int16hex(write_buffer, spi_c1101_read_register(SPIC1101_ADDR_RXBYTES));
usb_rawhid_send(write_buffer,255);
+ usb_rawhid_send((uint8_t*)"c1101 IOCFG2:",255);
+ debug_sprint_int16hex(write_buffer, spi_c1101_read_register(SPIC1101_ADDR_IOCFG2));
+ usb_rawhid_send(write_buffer,255);
+ usb_rawhid_send((uint8_t*)"c1101 IOCFG1:",255);
+ debug_sprint_int16hex(write_buffer, spi_c1101_read_register(SPIC1101_ADDR_IOCFG1));
+ usb_rawhid_send(write_buffer,255);
+ usb_rawhid_send((uint8_t*)"c1101 IOCFG0:",255);
+ debug_sprint_int16hex(write_buffer, spi_c1101_read_register(SPIC1101_ADDR_IOCFG0));
+ usb_rawhid_send(write_buffer,255);
+ usb_rawhid_send((uint8_t*)"c1101 FIFOTHR:",255);
+ debug_sprint_int16hex(write_buffer, spi_c1101_read_register(SPIC1101_ADDR_FIFOTHR));
+ usb_rawhid_send(write_buffer,255);
+ usb_rawhid_send((uint8_t*)"c1101 PKTLEN:",255);
+ debug_sprint_int16hex(write_buffer, spi_c1101_read_register(SPIC1101_ADDR_PKTLEN));
+ usb_rawhid_send(write_buffer,255);
spi_c1101_dump_registers_to_usb();
}
}