| Electronic Components Datasheet Search |
|
EM6580 Datasheet(PDF) 32 Page - EM Microelectronic - MARIN SA |
|
|
|||||||||||||||||||||||||||||
EM6580 Datasheet(HTML) 32 Page - EM Microelectronic - MARIN SA |
|
32 / 56 page ![]() R EM6580 Copyright © 2006, EM Microelectronic-Marin SA 32 www.emmicroelectronic.com 8.6 10-bit Counter Registers Table 8.6.1. Register RegCCntl1 Bit Name Reset R/W Description 3 Up/Down 0 R/W Up or down counting 2 CountFSel2 0 R/W Input clock selection 1 CountFSel1 0 R/W Input clock selection 0 CountFsel0 0 R/W Input clock selection Default : PA0 ,selected as input clock, Down counting Table 8.6.2. Counter Input Frequency Selection with CountFSel[2..0] CountFSel2 CountFSel1 CountFSel0 clock source selection 0 0 0 Port A PA[1] = non debounced only TimCk0 0 0 1 Prescaler Ck[15] typ. 16 kHz 0 1 0 Prescaler Ck[12] typ. 2 kHz 0 1 1 Prescaler Ck[10] typ. 512 Hz 1 0 0 Prescaler Ck[8] typ. 128 Hz 1 0 1 Prescaler Ck[4] typ. 8 Hz 1 1 0 Prescaler Ck[1] typ. 1 Hz 1 1 1 Port A PA[3/4] Table 8.6.3. Register RegCCntl2 Bit Name Reset R/W Description 3 Start 0 R/W Start/Stop control 2 EvCount 0 R/W Event counter enable 1 EnComp 0 R/W Enable comparator 0 Load 0 R/W Write: load counter register; Read: always 0 Default : Stop, no event count, no comparator, no load Table 8.6.4. System Control register RegSysCntl1 Bit Name Reset R/W Description 3 IntEn 0 R/W General interrupt enable 2 Sleep 0 R/W Sleep mode 1 SetIntFull 0 R/W Compare Interrupt select (note 1) 0 ChTmDis p 0* R/W Disable Test modes by setting it to 1 (MUST be DONE) p 0* ChTmDis is cleared on POR to be able to enter test modes at EM. One of first instructions not to enter test mode by mistake even if protocol to do it is difficult to achive is to set this bit to 1. Because circuit starts itself with its ROM code also on tester user has to respect minimal number of instructions before setting this bit to be able to test the circuit on tester. Table 8.6.5. Number of instructions before cutting Test access CPU frequency Min Nb. of instructions before ChTmDis is set or PortPA[0] declared as an output Basic frequency (32 kHz or 50 kHz) 4 Basic f. x 2 ( 64 kHz or 100 kHz) 8 Basic f. x 4 ( 128 kHz or 200 kHz) 16 Basic f. x 8 ( 256 kHz or 400 kHz) 32 Basic f. x 16 ( 500 kHz or 800 kHz) 64 By writing to RegSysCntl1 – setting ChTmDis to 1 PORstatus will be cleared. Test mode is totally disabled also if PortPA[0] is declared as an output. OenPA[0] = ‘1’ (note 1) Default : Interrupt on limited bit compare for Counter |
|
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 |