Revision 33f54213 include/DW1000/v1/deca_instance_v1.h
| include/DW1000/v1/deca_instance_v1.h | ||
|---|---|---|
| 470 | 470 | 
    void instance_close(void);  | 
| 471 | 471 | 
    // Call init, then call config, then call run. call close when finished  | 
| 472 | 472 | 
    // initialise the instance (application) structures and DW1000 device  | 
| 473 | 
    int instance_init(void);  | 
|
| 473 | 
    // int instance_init(void);  | 
|
| 474 | 
    int instance_init(DW1000Driver* drv); //TODO  | 
|
| 475 | 
     | 
|
| 474 | 476 | 
    // configure the instance and DW1000 device  | 
| 475 | 477 | 
    void instance_config(instanceConfig_t *config, sfConfig_t *sfconfig) ;  | 
| 476 | 478 | 
     | 
| ... | ... | |
| 528 | 530 | 
    uint64_t convertmicrosectodevicetimeu (double microsecu);  | 
| 529 | 531 | 
    double convertdevicetimetosec(int32_t dt);  | 
| 530 | 532 | 
     | 
| 531 | 
    #define DWT_PRF_64M_RFDLY (514.462f)  | 
|
| 532 | 
    #define DWT_PRF_16M_RFDLY (513.9067f)  | 
|
| 533 | 533 | 
     | 
| 534 | 
    /* Extern declaration while defining the data in .c file */  | 
|
| 534 | 
    // -------------------------------------------------------------------------------------------------------------------  | 
|
| 535 | 
    // Deca Calibration Values  | 
|
| 536 | 
    // -------------------------------------------------------------------------------------------------------------------  | 
|
| 537 | 
     | 
|
| 538 | 
    #define DWT_PRF_64M_RFDLY (514.462f)  | 
|
| 539 | 
    #define DWT_PRF_16M_RFDLY (513.9067f)  | 
|
| 540 | 
     | 
|
| 541 | 
    /* Extern declaration while defining them in .c file */  | 
|
| 535 | 542 | 
    extern const uint16_t rfDelays[2];  | 
| 536 | 543 | 
    extern const uint16_t rfDelaysTREK[2];  | 
| 537 | 544 | 
    extern const tx_struct txSpectrumConfig[8];  | 
| 538 | 545 | 
    extern instance_data_t instance_data[NUM_INST] ;  | 
| 539 | 546 | 
     | 
| 547 | 
    extern sfConfig_t sfConfig[4];  | 
|
| 548 | 
    extern instanceConfig_t chConfig[4];  | 
|
| 549 | 
     | 
|
| 540 | 550 | 
     | 
| 541 | 551 | 
    int instance_peekevent(void);  | 
| 542 | 552 | 
     | 
| ... | ... | |
| 579 | 589 | 
     | 
| 580 | 590 | 
    int instance_starttxtest(int framePeriod);  | 
| 581 | 591 | 
     | 
| 592 | 
     | 
|
| 593 | 
     | 
|
| 582 | 594 | 
    #endif /* defined(AMIROLLD_CFG_DW1000) && (AMIROLLD_CFG_DW1000 == 1) */  | 
| 583 | 595 | 
     | 
| 584 | 596 | 
    #ifdef __cplusplus  | 
Also available in: Unified diff