阅读:1256回复:0
请教!!!
struct pxa3xx_pin_config littleton_keyp_pins[] = {
PXA3xx_MFP_CFG("KEYP DKIN0", MFP_KP_DKIN_0, MFP_AF2, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP DKIN1", MFP_KP_DKIN_1, MFP_AF2, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKIN0", MFP_KP_MKIN_0, MFP_AF1, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKIN1", MFP_KP_MKIN_1, MFP_AF1, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKIN2", MFP_KP_MKIN_2, MFP_AF1, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKIN3", MFP_KP_MKIN_3, MFP_AF1, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKIN4", MFP_KP_MKIN_4, MFP_AF1, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKIN5", MFP_KP_MKIN_5, MFP_AF1, MFP_DS03X, 0, MFP_LPM_FLOAT, MFP_EDGE_BOTH), PXA3xx_MFP_CFG("KEYP MKOUT0", MFP_KP_MKOUT_0, MFP_AF1, MFP_DS03X, 1, MFP_LPM_DRIVE_HIGH, MFP_EDGE_NONE), PXA3xx_MFP_CFG("KEYP MKOUT1", MFP_KP_MKOUT_1, MFP_AF1, MFP_DS03X, 1, MFP_LPM_DRIVE_HIGH, MFP_EDGE_NONE), PXA3xx_MFP_CFG("KEYP MKOUT2", MFP_KP_MKOUT_2, MFP_AF1, MFP_DS03X, 1, MFP_LPM_DRIVE_HIGH, MFP_EDGE_NONE), PXA3xx_MFP_CFG("KEYP MKOUT3", MFP_KP_MKOUT_3, MFP_AF1, MFP_DS03X, 1, MFP_LPM_DRIVE_HIGH, MFP_EDGE_NONE), PXA3xx_MFP_CFG("KEYP MKOUT4", MFP_KP_MKOUT_4, MFP_AF1, MFP_DS03X, 1, MFP_LPM_DRIVE_HIGH, MFP_EDGE_NONE), }; 这里面的MFP_EDGE_BOTH , MFP_EDGE_NONE分别代表什么啊? MFP_LPM_FLOAT, MFP_LPM_DRIVE_HIGH又代表什么啊? MFP_DS03X是什么呢? |
|