Revision 7de0cc90 modules/PowerManagement_1-1/module.h
modules/PowerManagement_1-1/module.h | ||
---|---|---|
389 | 389 |
* @brief Shell prompt text. |
390 | 390 |
*/ |
391 | 391 |
extern ROMCONST char* moduleShellPrompt; |
392 |
#endif |
|
392 |
#endif /* (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true) */
|
|
393 | 393 |
|
394 | 394 |
/** |
395 | 395 |
* @brief Interrupt initialization macro. |
... | ... | |
461 | 461 |
aosShellAddCommand(&aos.shell, &moduleUtAlldPcal6524.shellcmd); \ |
462 | 462 |
aosShellAddCommand(&aos.shell, &moduleUtAlldAt42qt1050.shellcmd); \ |
463 | 463 |
} |
464 |
#else |
|
464 |
#else /* (BOARD_SENSORRING == ?) */
|
|
465 | 465 |
#define MODULE_INIT_TEST_SENSORRING() {} |
466 |
#endif |
|
466 |
#endif /* (BOARD_SENSORRING == ?) */
|
|
467 | 467 |
|
468 | 468 |
/** |
469 | 469 |
* @brief Periphery communication interfaces initialization hook. |
... | ... | |
511 | 511 |
moduleHalI2cSrPm42Pm50PmVddEepromGaugeFrontConfig.clock_speed = (PCAL6524_LLD_I2C_MAXFREQUENCY < moduleHalI2cSrPm42Pm50PmVddEepromGaugeFrontConfig.clock_speed) ? PCAL6524_LLD_I2C_MAXFREQUENCY : moduleHalI2cSrPm42Pm50PmVddEepromGaugeFrontConfig.clock_speed; \ |
512 | 512 |
moduleHalI2cSrPm42Pm50PmVddEepromGaugeFrontConfig.clock_speed = (AT42QT1050_LLD_I2C_MAXFREQUENCY < moduleHalI2cSrPm42Pm50PmVddEepromGaugeFrontConfig.clock_speed) ? AT42QT1050_LLD_I2C_MAXFREQUENCY : moduleHalI2cSrPm42Pm50PmVddEepromGaugeFrontConfig.clock_speed; \ |
513 | 513 |
} |
514 |
#else |
|
514 |
#else /* (BOARD_SENSORRING == ?) */
|
|
515 | 515 |
#define MODULE_INIT_PERIPHERY_COMM_SENSORRING() {} |
516 |
#endif |
|
516 |
#endif /* (BOARD_SENSORRING == ?) */
|
|
517 | 517 |
|
518 | 518 |
/** |
519 | 519 |
* @brief Periphery communication interface deinitialization hook. |
... | ... | |
686 | 686 |
*/ |
687 | 687 |
extern VCNL4020Driver moduleLldProximity2; |
688 | 688 |
|
689 |
#endif /* BOARD_SENSORRING == BOARD_PROXIMITYSENSOR */
|
|
689 |
#endif /* (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) */
|
|
690 | 690 |
|
691 | 691 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) || defined(__DOXYGEN__) |
692 | 692 |
|
... | ... | |
708 | 708 |
*/ |
709 | 709 |
extern AT42QT1050Driver moduleLldTouch; |
710 | 710 |
|
711 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X */
|
|
711 |
#endif /* (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) */
|
|
712 | 712 |
|
713 | 713 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) || defined(__DOXYGEN__) |
714 | 714 |
|
... | ... | |
730 | 730 |
*/ |
731 | 731 |
extern AT42QT1050Driver moduleLldTouch; |
732 | 732 |
|
733 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X */
|
|
733 |
#endif /* (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) */
|
|
734 | 734 |
|
735 | 735 |
/** @} */ |
736 | 736 |
|
... | ... | |
823 | 823 |
*/ |
824 | 824 |
extern aos_unittest_t moduleUtAlldVcnl4020; |
825 | 825 |
|
826 |
#endif /* BOARD_SENSORRING == BOARD_PROXIMITYSENSOR */
|
|
826 |
#endif /* (BOARD_SENSORRING == BOARD_PROXIMITYSENSOR) */
|
|
827 | 827 |
|
828 | 828 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) || defined(__DOXYGEN__) |
829 | 829 |
|
... | ... | |
840 | 840 |
*/ |
841 | 841 |
extern aos_unittest_t moduleUtAlldAt42qt1050; |
842 | 842 |
|
843 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X */
|
|
843 |
#endif /* (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L0X) */
|
|
844 | 844 |
|
845 | 845 |
#if (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) || defined(__DOXYGEN__) |
846 | 846 |
|
... | ... | |
857 | 857 |
*/ |
858 | 858 |
extern aos_unittest_t moduleUtAlldAt42qt1050; |
859 | 859 |
|
860 |
#endif /* BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X */
|
|
860 |
#endif /* (BOARD_SENSORRING == BOARD_DISTANCESENSOR_VL53L1X) */
|
|
861 | 861 |
|
862 |
#endif /* AMIROOS_CFG_TESTS_ENABLE == true */
|
|
862 |
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) */
|
|
863 | 863 |
|
864 | 864 |
/** @} */ |
865 | 865 |
|
Also available in: Unified diff