| Electronic Components Datasheet Search |
|
EM73201 Datasheet(PDF) 15 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM73201 Datasheet(HTML) 15 Page - ELAN Microelectronics Corp |
|
15 / 30 page ![]() 15 * This specification are subject to be changed without notice. EM73201 4-BIT MICRO-CONTROLLER FOR GENERAL PURPOSE PRODUCT Preliminary 7.20.1999 LDIA #01H; STATAM; LDIA #0FH; STATAH; LDIA #1000B; OUTA P28; enable timerA with internal pulse rate: XIN/210 Hz NOTE: The preset value of timer/counter register is calculated as following procedure. Internal pulse rate: XIN/210 ; XIN = 4MHz The time of timer counter count one = 210 /XIN = 1024/4000=0.256ms The number of internal pulse to get timer overflow = 60 ms/ 0.256ms = 234.375 = 0EAH The preset value of timer/counter register = 1000H - 0EAH = 0F16H PULSE WIDTH MEASUREMENT MODE For the pulse width measurement mode, the counter only incresed by the rising edge of internal pulse rate as external timer/counter input (P8.3/TRGA ), interrupt request will be generated as soon as timer/counter overflow. PROGRAM EXAMPLE: Enable timerA by pulse width measurement mode . LDIA #1100B; OUTA P28; Enable timerA with pulse width measurement mode. INTERRUPT FUNCTION There are 4 interrupt sources, 2 external interrupt sources, 2 internal interrupt sources . Multiple interrupts are admitted according the priority . Type Interrupt source Priority Interrupt Interrupt Program ROM Latch Enable condition entry address External External interrupt(INT0) 1 IL5 EI=1 002h Internal Reserved 2 IL4 EI=1, MASK3=1 004h Internal TimerA overflow interrupt (TRGA) 3 IL3 EI=1, MASK2=1 006h Internal Reserved 4 IL2 EI=1, MASK1=1 008h Internal Time base interrupt(TBI) 5 IL1 00Ah External External interrupt(INT1) 6 IL0 EI=1,MASK0=1 00Ch Internal pulse TimerA value n n+1 n+2 n+3 n+4 n+5 P8.3/TRGA |
|
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 |