Dialog Semiconductor customer support - DBG_SWDIAG https://support.dialog-semiconductor.com/resource-keywords/dbgswdiag en #define DBG_SWDIAG(bank , field , value) https://support.dialog-semiconductor.com/define-dbgswdiagbank-field-value

大家好,有个问题想请教下:
/// Macro used to set a SW diag to specific value
#define DBG_SWDIAG(bank , field , value)

上面定义的宏什么意思,不是很明白。
DBG_SWDIAG(SLEEP, ALGO, 0);
DBG_SWDIAG(SLEEP, ALGO, 1);
DBG_SWDIAG(SLEEP, ALGO, 2);
DBG_SWDIAG(SLEEP, ALGO, 3);
DBG_SWDIAG(SLEEP, ALGO, 4);
DBG_SWDIAG(SLEEP, ALGO, 5);
DBG_SWDIAG(SLEEP, ALGO, 6);

Keywords: 
Device: 
Sat, 27 Feb 2016 16:38:46 +0000 awesley 2747年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/define-dbgswdiagbank-field-value#comments