zhangqingsup
驱动牛犊
驱动牛犊
  • 注册日期2008-11-14
  • 最后登录2011-06-29
  • 粉丝0
  • 关注0
  • 积分3分
  • 威望21点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1256回复:0

请教!!!

楼主#
更多 发布于:2008-12-08 16:29
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是什么呢?
游客

返回顶部