| Electronic Components Datasheet Search |
|
MAC7200 Datasheet(PDF) 830 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MAC7200 Datasheet(HTML) 830 Page - Freescale Semiconductor, Inc |
|
830 / 976 page ![]() Memory Map and Register Definition MAC7200 Microcontroller Family Reference Manual, Rev. 2 752 Freescale Semiconductor NOTE Write accesses to this register are not recommended while a conversion is running as the conversion result might get corrupted. 33.10.2.6 ATD Predischarge Time Select Register (ATDPTS) This register defines the duration of the predischarge phase. During the predischarge phase the sample capacitor and the parasitric capacitiy of the current analog channel will be discharged. The predischarge Table 33-11. ATDCAL Field Descriptions Field Descriptions 31 Reserved, should be cleared. 30–16 GCC Gain Calibration Constant. This register contains the Gain Calibration Constant used to adjust the ATD conversion results. The constant is calculated from the Gain value: • GCC = Gain x 16384. The GCC range is 0 <= 32767 corresponding to the Gain range 0 <= gain < 2. Example: Gain is assumed to be 1.024. In this case GCC = 1.024 x 16384 = 16777.2. The value for GCC must be truncated to 16777. In binary format, this is 0b100_0001_1000_1001. 15–14 Reserved, should be cleared. 13–0 OCC Offset Calibration Constant. This register contains the Offset Calibration Constant used to adjust conversion results. It is calculated from the Offset value: • Offset >= 0: OCC = Offset x 4 • Offset < 0: OCC = Offset x 4 + 16384 The OCC range is 0 <= OCC <= 8191 corresponding to Offset range -2048 <= Offset <= 2047.75 in steps of 0.25. Example (positive Offset): Offset is assumed to be 3.8. In this case OCC = 3.8 x 4 = 15.2. The value for OCC must be truncated to 15. In binary format, this is 0b00_0000_0000_1111. Example (negative Offset): Offset is assumed to be -3.8. In this case OCC = -3.8 x 4 + 16384 = -15.2 +16384 = 16368.8. The value for OCC must be truncated to 16368. In binary format, this is 0b11_1111_1111_0000. The following table gives some examples for OCC values vs. Offset value: OCC[13:0] Offset (decimal) 0b00_0000_0000_0000 0 0b00_0000_0000_0001 0.25 0b00_0000_0000_0010 0.5 0b01_1111_1111_1111 2047.75 0b10_0000_0000_0000 -2048 0b10_0000_0000_0001 -2047.75 0b11_1111_1111_1111 -0.25 |
|
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 |