| Electronic Components Datasheet Search |
|
PSD511B1 Datasheet(PDF) 90 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PSD511B1 Datasheet(HTML) 90 Page - STMicroelectronics |
|
90 / 153 page ![]() PSD5XX Family 87 9.6.2.3 Configuring the Mode of Operation of the Counter/Timers: Using the GLOBAL MODE bit of the Global Command register and MODE SELECT bit of the Command register of Counter/Timers 0 – 3, individual Counter/Timer modes of operation can be set up. Refer to Table 24. Notice that all the Counter/Timers can either operate in Waveform/Pulse or Event Count/Time Capture modes, but not in all four modes at the same time. Counter/Timer Registers (Cont.) Mode Select Bit Global Mode Bit (Command Modes Modes (Global Command Registers of of of Register) Counter/Timers Counter/Timers Counter/Timer2 0 – 3 CMD0, CMD1, 0, 1 and 3 CMD2 and CMD3) 0 0 Waveform Waveform or WatchDog 0 1 Pulse Pulse or WatchDog 1 0 Event Counter WatchDog Only 1 1 Time Capture WatchDog Only 9.6.2.4 Freeze Command Register When a Microcontroller needs to access the contents of the Image Registers (IMG0-IMG3) it does so by first setting the Command Register Freeze bit in order to disable the timer state-machine accesses of the Image Register. The Microcontroller waits for the Freeze Acknowledge bit in the Counter/Timer Status Register to be set to 1 and then it accesses the Image Register as an address location. The freeze acknowledge signal effectively guar- antees stable Image Register data during Microcontroller read/write cycles even though the Counter/Timer continues to count. The Freeze Acknowledge bit gets cleared after the negation of Freeze. The Freeze Command bits are set and cleared by the microcontroller software. The Freeze Command Register and the software Load/Store Register should not be set at the same time. It is recommended that the registers be accessed individually. Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 * *** Freeze Freeze Freeze Freeze CTU3 CTU2 CTU1 CTU0 NOTE: * = Not used. Table 24. Counter/Timer Modes |
|
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 |