Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
Diff: DW1000/DW1000.h
- Revision:
- 44:2e0045042a59
- Parent:
- 42:83931678c4de
- Child:
- 48:5999e510f154
--- a/DW1000/DW1000.h Thu Mar 05 10:26:51 2015 +0000 +++ b/DW1000/DW1000.h Thu Mar 05 12:18:37 2015 +0000 @@ -74,6 +74,7 @@ void sendString(char* message); // to send String with arbitrary length void receiveString(char* message); // to receive char string (length of the buffer must be 1021 to be safe) void sendFrame(uint8_t* message, uint16_t length); // send a raw frame (length in bytes) + void sendDelayedFrame(uint8_t* message, uint16_t length, uint64_t TxTimestamp); void startRX(); // start listening for frames void stopTRX(); // disable tranceiver go back to idle mode @@ -100,7 +101,8 @@ void writeRegister8(uint8_t reg, uint16_t subaddress, uint8_t buffer); void writeRegister16(uint8_t reg, uint16_t subaddress, uint16_t buffer); void writeRegister32(uint8_t reg, uint16_t subaddress, uint32_t buffer); - + void writeRegister40(uint8_t reg, uint16_t subaddress, uint64_t buffer); + void readRegister(uint8_t reg, uint16_t subaddress, uint8_t *buffer, int length); // reads the selected part of a slave register into the buffer memory void writeRegister(uint8_t reg, uint16_t subaddress, uint8_t *buffer, int length); // writes the buffer memory to the selected slave register void setupTransaction(uint8_t reg, uint16_t subaddress, bool write); // sets up an SPI read or write transaction with correct register address and offset