| Electronic Components Datasheet Search |
|
MAC7200 Datasheet(PDF) 790 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MAC7200 Datasheet(HTML) 790 Page - Freescale Semiconductor, Inc |
|
790 / 976 page ![]() Functional Description MAC7200 Microcontroller Family Reference Manual, Rev. 2 712 Freescale Semiconductor The internal counter counts up from the current value until it matches the value in register A1. Register B1 is cleared and is not acessible to the MCU. MODE[2] bit selects up mode or up/down mode, when cleared or set, respectivelly. When in up count mode, a match between the internal counter and register A1 sets the FLAG and clears the internal counter. When in up/down count mode, a match between the internal counter and register A1 sets the FLAG and changes the counter direction from increment to decrement. A match between register B1 and the internal counter changes the counter direction from decrement to increment and sets the FLAG only if MODE[1] bit is set. Figure 32-30 and Figure 32-31 show how the Unified Channel can be used as modulus counter in up mode and up/down mode, respectively. Figure 32-30. Modulus Counter up mode example Figure 32-31. Modulus Counter up/down mode example 32.13.1.1.12 Modulus Counter Buffered (MCB) Mode The MCB mode provides a time base which can be shared with other channels through the internal counter buses. Register A1 is double buffered thus allowing smooth transitions between cycles when changing A2 $FFFFFF $000303 $000000 UCCNTn Time Match A1 A1 value1 $000303 $000303 $000200 write to A2 Match A1 write to A2 $000200 Match A1 Match A1 $xxxxxx FLAG set event Notes: 1. UCAn = A1 $000303 $000200 A2 = A1according to OUn bit MODE[2]= 0 $FFFFFF $000303 $000000 UCCNTn Time Match A1 A1 value1 $000303 $000303 $000200 write to A2 Match B1(=0) write to A2 $000200 Match A1 Match B1(=0) $xxxxxx Notes: 1. UCAn = A1 $000200 $000200 FLAG set event A2 = A1according to OUn bit MODE[2]= 1 |
|
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 |