| 数据搜索系统,热门电子元器件搜索 |
|
MCS3142 数据表(PDF) 29 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCS3142 数据表(HTML) 29 Page - Microchip Technology |
|
29 / 57 page ![]() MCS3142 Dual KEELOQ® Encoder Wireless Remote Control Development Kit User’s Guide DS40001746A-page 28 2014 Microchip Technology Inc. 6.3.1 Software Design The software was written so that a developer can easily use it. All of the KEELOQ decoding is abstracted away from the developer, leaving the important properties of the final result to the developer. The following figure shows a top-level diagram of the software layout. FIGURE 6-1: BLOCK DIAGRAM DESIGN OF THE SOFTWARE ON THE TARGET CONTROLLER Encoder Mediator This file contains the place where custom code can be entered after the algorithm is done checking for a valid response. EXAMPLE 6-1: KEELOQ MEDIATOR CODE SNIPPET if (Decode_Classic_KeeLoq(&inData) != NOT_VALID_PACKET) { //Custom code to interpret a valid Classic Keeloq Packet. } else if (Decode_Advanced_KeeLoq(&inData) != NOT_VALID_PACKET) { //Custom code to interpret a valid Advanced Keeloq Packet. } else if (Decode_Ultimate_KeeLoq(&inData) != NOT_VALID_PACKET) { //Custom code to interpret a valid Ultimate Keeloq Packet. } else { validated_packet.type = INVALID_ENCODER; } |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |