#define IS_FLASH_LATENCY(LATENCY) (((LATENCY) == FLASH_Latency_0) ||
((LATENCY) == FLASH_Latency_1) ||
((LATENCY) == FLASH_Latency_2) ||
((LATENCY) == FLASH_Latency_3) ||
((LATENCY) == FLASH_Latency_4) ||
((LATENCY) == FLASH_Latency_5) ||
((LATENCY) == FLASH_Latency_6) ||
((LATENCY) == FLASH_Latency_7) ||
((LATENCY) == FLASH_Latency_8) ||
((LATENCY) == FLASH_Latency_9) ||
((LATENCY) == FLASH_Latency_10) ||
((LATENCY) == FLASH_Latency_11) ||
((LATENCY) == FLASH_Latency_12) ||
((LATENCY) == FLASH_Latency_13) ||
((LATENCY) == FLASH_Latency_14) ||
((LATENCY) == FLASH_Latency_15))
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
判断LATENCY是否是FLASH_Latency_0~FLASH_Latency_15,如果是就为1,如果不是,就是0
---------------------------------
对,为了匹配,mcu和flash的速度做的延时
一周热门 更多>