| Electronic Components Datasheet Search |
|
MAC7200 Datasheet(PDF) 861 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MAC7200 Datasheet(HTML) 861 Page - Freescale Semiconductor, Inc |
|
861 / 976 page ![]() Initialization/Application Information MAC7200 Microcontroller Family Reference Manual, Rev. 2 Freescale Semiconductor 783 • Example 7: Entering Low-power Mode During a Conversion • Example 8: Debug Mode Any additional meaning of the remaining command word bits is explained in Section 33.12.3.9, “Conversion Mechanism (bits CWCH, CWNF, CWGI, CWSC, CWAR)”. If not further specified the meaning of the bits in ATDCW are either not important for the given example or are intentionally left out to avoid confusion. All examples refer to the flow diagrams described in Figure 33-17 and Figure 33-18. 33.12.3.1 Example 1: A Simple Conversion For this example we assume that the ATD has been enabled and tREC has elapsed. At a certain point, a command word is written to the ATDCW register. It is assumed that CWCM is set to “convert then pause”. After the write the CSM will immediately go to state C2 and execute the conversion. When the conversion is finished, the CSM will store the result in the result register ATDRR and then go back to C1 (Figure 33-18). The CSM will also set the pause bit (CP) in the flag register ATDFLAG. If the CPIE bit is set, an interrupt will be generated. As there is a result available in ATDRR the Result State Machine (RSM) will transition from R1 to R2 (Figure 33-18b) and will assert a DMA request. The DMA request will stay asserted until the ATDRR register is read. After the result has been read, the RSM will go back to the idle state C1. In Figure 33-27 the conversion procedure for this example is shown: Figure 33-27. Conversion Procedure for Example 1 33.12.3.2 Example 2: A Simple Conversion Sequence (Convert then Pause) For this example three conversions will be performed in a row with the CSM assumed to be starting from C1 (Figure 33-17). The command words have the following CWCM bit values: 1. CMD #1, CMD #2: CWCM= “11” (convert continuously) 2. CMD #3: CWCM= “01” (convert then pause) cmd #1 empty empty empty cmd #1 empty rst #1 empty RX request Write ATDCW ATDCW ATDCC ATDRR TX request Read ATDRR Conv. complete ATDMODE.MDIS CSM C1 C3 C1 R2 R1 RSM R1 tREC |
|
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 |