您好,欢迎光临本网站![请登录][注册会员]  
文件名称: RC531详细英文资料和程序
  所属分类: Access
  开发工具:
  文件大小: 986kb
  下载次数: 0
  上传时间: 2008-11-10
  提 供 者: yuznz******
 详细说明: / // FUNCTION: M500PcdReset // IN: - // OUT: - // RETURN: MI_OK // MI_RESETERR // MI_INTERFACEERR // COMMENT: This function initiates a reset of the reader IC. Note, that // the reset pin of the reader has to be connected to the // expected port pin of the microcontroller. // char M500PcdReset(void); // _____________________________________________________________________________ // // FUNCTION: M500PcdConfig // IN: - // OUT: - // RETURN: MI_OK // MI_RESETERR // MI_INTERFACEERR // COMMENT: Configuration of the reader IC. This function has to be called // before the first data is written to the reader. A reset // is initiated and several registers are set. // char M500PcdConfig(void); // _____________________________________________________________________________ // // FUNCTION: M500PcdInOutSlaveConfig // IN: - // OUT: - // RETURN: MI_OK // MI_UNKNOWN_COMMAND // MI_ACCESSTIMEOUT // COMMENT: The reader IC is able to communicate with another reader IC // via the digital "mifare in" and "mifare out" interface. Therefore // one reader acts as a master and sends commands via "mifare out". // The other reader ic acts as a slave and receives data via // "mifare in" interface. The slave module can not be initialised // by the microcontroller because only the "mifare in/out" // interface is connected.For this reason, the slave module has // to be initialised once. For that the appropriate parameter // settings are written to // the E2PROM. After POR (power on reset) the IC reads these settings // and initialises automatically as slave. // char M500PcdInOutSlaveConfig(void); // _____________________________________________________________________________ // // FUNCTION: M500PcdInOutMasterConfig // IN: - // OUT: - // RETURN: MI_OK // COMMENT: Corresponding to the slave configuration routine. This function // initialises the master reader IC. The function is additional // to the standard configuration "M500PcdConfig". // char M500PcdInOutMasterConfig(void); // _____________________________________________________________________________ // // FUNCTION: MfPcdLoadMk // IN: kl_mode PICC_AUTHENT1A or PICC_AUTHENT1B // selects master key A or master key B // KS0, KS1, KS2 selects one of the three master key sets. // key_addr spec. the key RAM address to which the data shall be // written (0..15) // mk pointer to a 6 byte authentication key // OUT: - // RETURN: MI_OK // COMMENT: In order to be "calling compatibel" to former libraries, this // function enables to store all keys in the microcontroller. // When calling the authentication function "M500PiccAuth", // these keys can be used. // Note: This concept supports backward compatibility for the // application software, but does not fulfill the same security // level because keys are in this case stored autside the secure key // memory of the MF RC500. // char M500PcdLoadMk(unsigned char kl_mode, unsigned char key_addr, unsigned char *mk); // _____________________________________________________ ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: rfid
 输入关键字,在本站1000多万海量源码库中尽情搜索: