| Zakładka z wyszukiwarką danych komponentów |
|
MCS3142 Arkusz danych(PDF) 29 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCS3142 Arkusz danych(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; } |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |