Revision 0ecf4119 modules/NUCLEO-F103RB/module.h

View differences:

modules/NUCLEO-F103RB/module.h
79 79
#if defined(AMIROLLD_CFG_DW1000)
80 80

  
81 81
/**
82
 * @brief   SPI interface driver for the motion sensors (gyroscope and accelerometer).
82
 * @brief   SPI interface driver for UWB DW1000 module.
83 83
 */
84 84
#define MODULE_HAL_SPI_UWB                      SPID2
85 85

  
86 86

  
87 87
/**
88
 * @brief   Configuration for the SPI interface driver to communicate with the LED driver.
88
 * @brief   Configuration for the high-speed SPI interface driver of DW1000 module..
89 89
 */
90 90
extern SPIConfig moduleHalSpiUwbHsConfig;
91 91

  
92 92
/**
93
 * @brief   Configuration for the SPI interface driver to communicate with the wireless transceiver.
93
 * @brief   Configuration for the low-speed SPI interface driver of DW1000 module.
94 94
 */
95 95
extern SPIConfig moduleHalSpiUwbLsConfig;
96 96

  
......
149 149
/**
150 150
 * @brief   Event flag to be call dwt_isr() interrupt.
151 151
 */
152
#define MODULE_OS_IOEVENTFLAGS_DW1000_IRQn      AOS_IOEVENT_FLAG(PAL_PAD(LINE_ARD_D6))
152
#define MODULE_OS_IOEVENTFLAGS_DW1000_IRQn      AOS_IOEVENT_FLAG(PAL_PAD(LINE_ARD_D14))
153 153

  
154 154
/**
155 155
 * @brief   Event flag to be set on a USER_BUTTON interrupt.
......
252 252
#if defined(AMIROLLD_CFG_DW1000)
253 253
  #define MODULE_MAIN_LOOP_IO_EVENT_DW1000() {                                \
254 254
    if(eventflags & MODULE_OS_IOEVENTFLAGS_DW1000_IRQn) {                     \
255
      /*apalGpioToggle(moduleGpioLedGreen.gpio); // just for debug  */        \
256 255
      process_deca_irq();                                                     \
257 256
    }                                                                         \
258 257
  }

Also available in: Unified diff