Download Crossbar Switch
Transcript
eMIOS Modes Modulus Counter Mode – UP Counter Generates a time base which can be shared with other channels through the internal counter bases - Can use Internal or External (input channel pin) counter Internal Counter (UCCNTn) 0x001000 0 001000 0x000800 0x000000 FLAG pin / register A1 value $001000 $001000 A2 value $001000 A1 match $000800 $000800 write update i t A2 off A1 into $000800 $000800 A1 match A1 match Notes: • On a comparator A match, FLAG is set and the internal counter is set to value $0. • A change of the A2 register makes the A1 register be updated at the next clock clock. • Caution – If when entering MC mode the internal counter value is upper than register UCA[n] value, then it will wrap at the maximum counter value ($FFFFFF) before matching A1. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Qorivva is a trademark of Freescale Semiconductor, Inc. The Power Architecture and Power.org word marks and the Power and Power. org logos and related marks are trademarks and service marks licensed by Power.org. All other product or service names are the property of their respective owners. © 2005, 2010, 2011 Freescale Semiconductor, Inc. 218