Revision 35880232 modules/LightRing_1-2/module.c
modules/LightRing_1-2/module.c | ||
---|---|---|
443 | 443 |
/* configuration */ NULL, |
444 | 444 |
}; |
445 | 445 |
|
446 |
PN532Driver moduleNfc = { |
|
447 |
/* I2C Driver */ &MODULE_HAL_I2C_EEPROM_PWRMTR_BREAKOUT, |
|
448 |
/* I²C address */ PN532_LLD_I2C_ADDR_FIXED, //TODO |
|
449 |
/* current LSB (uA) */ 0x00u, |
|
450 |
/* configuration */ NULL, |
|
451 |
}; |
|
452 |
|
|
446 | 453 |
LEDDriver moduleLldStatusLed = { |
447 | 454 |
/* LED enable Gpio */ &moduleGpioLed, |
448 | 455 |
}; |
... | ... | |
517 | 524 |
AOS_SHELL_COMMAND(moduleTestP9221rShellCmd, "test:QiCharger", _testP9221rShellCmdCb); |
518 | 525 |
|
519 | 526 |
/* |
527 |
* PN632 (nfc) |
|
528 |
*/ |
|
529 |
#include <module_test_PN532.h> |
|
530 |
static int _testPn532ShellCmdCb(BaseSequentialStream* stream, int argc, char* argv[]) |
|
531 |
{ |
|
532 |
return moduleTestPn532ShellCb(stream, argc, argv, NULL); |
|
533 |
} |
|
534 |
AOS_SHELL_COMMAND(moduleTestPn532ShellCmd, "test:QiCharger", _testPn532ShellCmdCb); |
|
535 |
|
|
536 |
/* |
|
520 | 537 |
* Status LED |
521 | 538 |
*/ |
522 | 539 |
#include <module_test_LED.h> |
Also available in: Unified diff