| Electronic Components Datasheet Search |
|
EM78M680 Datasheet(PDF) 33 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM78M680 Datasheet(HTML) 33 Page - ELAN Microelectronics Corp |
|
33 / 53 page ![]() Contents Product Specification (V1.11) 02.10.2007 • 27 6.9.2.4 R16 ExtraRAM1 (P.92 High Pattern Counter) This register records the length of P.92 in high status. 6.9.2.5 R17 ExtraRAM1 (P.93 Low Pattern Counter) This register records the length of P.93 in low status 6.9.2.6 R18 ExtraRAM1 (P.93 High Pattern Counter) This register records the length of P.93 in high status. R15~R18 function as general registers if this function is not enabled. Once the enabled bit is set, these four registers will be loaded with the value of the pattern counter. 6.9.3 Sampling Rate and Debounce Length The two pattern detect pins are separate, and each pin has its own pattern counter. Both pins use the same Sampling Rate and Debounce Length parameters. The PDA samples the serial signal for every fixed interval. The pattern counter will be incremented by one at sampling time if the signal remains unchanged. If the signal is at high state, then the “high pattern counter“ will be incremented, otherwise the “low pattern counter” is incremented. As long as the signal state changes, the PDA will debounce signal and load the value of the pattern counter into the respective register for the firmware to read. For example, if the signal in P.92 is in “low” state, the low counter of P.92 will count continuously until the state of the input signal in P.92 changes. When a state change occurs (in this case, the signal changes from “low” to “high” state), the PDA will take a time break (which is equal to the result of sampling interval multiplied by the debounce length), to avoid possible noise. After the debounce length time, if the signal remains in high state, the high pattern counter will start to count and load the low pattern counter’s value into R15 ExtraRAM1. At the same time, RE [0] is set to indicate that the low pattern is over. The correlation between the value of control register and debounce time are as follows: DB.2 DB.1 DB.0 Debounce Time 0 0 0 No Sampling clock . 0 0 1 1 Sampling clock 0 1 0 2 Sampling clock 0 1 1 3 Sampling clock . 1 0 0 4 Sampling clock 1 0 1 5 Sampling clock 1 1 0 6 Sampling clock 1 1 1 7 Sampling clock |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |