Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
Diff: DW1000/DW1000.h
- Revision:
- 60:43be9228b3b9
- Parent:
- 54:a59803fcce58
- Child:
- 65:4c3bd79b57d2
--- a/DW1000/DW1000.h Mon Jan 04 20:55:33 2016 +0000 +++ b/DW1000/DW1000.h Tue Jan 05 08:59:30 2016 +0000 @@ -91,7 +91,10 @@ 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 - + + void setInterrupt(bool RX, bool TX); // set Interrupt for received a good frame (CRC ok) or transmission done + void resetInterruptFlags(); + //private: void loadLDE(); // load the leading edge detection algorithm to RAM, [IMPORTANT because receiving malfunction may occur] see User Manual LDELOAD on p22 & p158 void resetRX(); // soft reset only the tranciever part of DW1000 @@ -103,7 +106,6 @@ int irq_index; FunctionPointer callbackRX; // function pointer to callback which is called when successfull RX took place FunctionPointer callbackTX; // function pointer to callback which is called when successfull TX took place - void setInterrupt(bool RX, bool TX); // set Interrupt for received a good frame (CRC ok) or transmission done void ISR(); // interrupt handling method (also calls according callback methods) uint16_t getFramelength(); // to get the framelength of the received frame from the PHY header