DW1000 UWB driver based on work of Matthias Grob & Manuel Stalder - ETH Zürich - 2015
Diff: DW1000.h
- Revision:
- 17:1fb08dfef237
- Parent:
- 15:6faab70a5b19
- Child:
- 18:6c2ce1749d4a
--- a/DW1000.h Wed Nov 08 10:43:03 2017 +0000 +++ b/DW1000.h Wed Nov 08 11:15:47 2017 +0000 @@ -207,6 +207,15 @@ */ void enterRFTestMode(); + /** apply a new radio setup to the UWB system + * @param setup The new settings to use + * @return true if the setup was applied. + * + * The setup object supplied is copied and can be disposed of after the call. + * If the supplied setup fails DW1000Setup::check() then it is ignored and the function returns false. + * @note This will reset the radio. You must re-enable interupts, receiver etc. after calling it. + */ + bool applySetup(DW1000Setup *setup); protected: @@ -335,17 +344,6 @@ */ void setInterrupt(bool RX, bool TX); // set Interrupt for received a good frame (CRC ok) or transmission done - - /** apply a new radio setup to the UWB system - * @param setup The new settings to use - * @return true if the setup was applied. - * - * The setup object supplied is copied and can be disposed of after the call. - * If the supplied setup fails DW1000Setup::check() then it is ignored and the function returns false. - * @note This will reset the radio. You must re-enable interupts, receiver etc. after calling it. - */ - bool applySetup(DW1000Setup *setup); - /** Get the first path amplitude values * @param fp_amp2 Will be set to first path second peak amplitude