| поискавой системы для электроныых деталей |
|
PC87591L датащи(PDF) 175 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87591L датащи(HTML) 175 Page - National Semiconductor (TI) |
|
175 / 437 page ![]() Embedded Controller Modules (Continued) Revision 1.07 175 www.national.com In this state, all ADC activities are halted and ADC current consumption from the AVCC is reduced. Note that re-enabling the ADC causes an activation delay. It is recommended to disable the ADC only after the buffer registers of all four channels have been read. Interrupt Structure The ADC Interrupt is a level high interrupt, generated if one (or more) of the events in Table 23 becomes active. The ADC interrupt is connected to the ICU. When an event flag and its related mask bit are set (enabled), the ADC Interrupt request is asserted. This is indicated by a high level of the ADC Interrupt signal. The software must reset the event flag (or reset its mask bit) in order to deassert the ADC Interrupt request. All the interrupt mask bits (interrupt disabled), the data-related event flags (EOCEV and the four DATVAL bits) and the con- nection-failure event flag (OPSHEV) are cleared by both reset conditions. The overtemperature event flag (OTSEV) is cleared only by VCC Power-Up Reset. The ADC Interrupt is routed to the ICU as an ADCI signal (see Section 4.3 on page 98). ADC Operating Principles Measurement Sequence. The following measurements are executed, in the order listed, during one ADC cycle for all en- abled channels: 1. Temperature measurement, from the input indicated by SELIN field in TCHANCTL register. The A/D conversion starts by selecting the input and waiting for the time period (TMPDLY delay) set in ADLYCTL register. The resulting 8-bit digital value is stored in TCHANDAT register, and DATVAL bit in TCHANCTL register is set. 2. Voltage measurement for Voltage Channel 1, from the input selected by SELIN field in VCHN1CTL register. The A/D conversion starts by selecting the input and waiting for the time period (VOLDLY delay) set in ADLYCTL register. The resulting 10-bit digital value is stored in VCHN1DAT register, and DATVAL bit in VCHN1CTL register is set. Note: This measurement is skipped if Voltage Channel 1 is disabled by setting the SELIN field in VCHN1CTL register to 1F16. 3. Voltage measurement for Voltage Channel 2, as above, using the VCHN2CTL and VCHN2DAT registers. 4. Voltage measurement for Voltage Channel 3, as above, using the VCHN3CTL and VCHN3DAT registers. 5. End of the ADC cycle. EOCEV bit in ADCSTS register is set (in addition to all the relevant DATVAL bits). The software may read the measurement result for each channel immediately after its DATVAL bit is set. Alternatively, the results may be read at the end of the cycle when EOCEV bit is set. After the data in VCHNiDAT register is read, the software should clear the relevant DATVAL bit to indicate that the data in the buffers has been read. The ADC cycle duration may be calculated using the formula below (N is the number of enabled voltage channels): TADC cycle =2 * (tTD +tTC) + (N+1) * (tVD +tVC) Where: tTD - Temperature Conversion Delay Time tTC - Temperature Conversion Time tVD - Voltage Conversion Delay Time tVC - Voltage Conversion time Table 23. ADC Interrupt Structure Event Flag Register Mnemonic Mask Bit Register Mnemonic Description OPSHEV ADCSTS INTOSEN ADCCNF Open/Short Event/Enable OTSEV ADCSTS INTOTEN ADCCNF Overtemperature Event/Enable EOCEV ADCSTS INTECEN ADCCNF End-of-Cycle Event/Enable DATVAL TCHANCTL INTDVEN TCHANCTL Data Valid Event/Enable (Temperature Channel) DATVAL VCHN1CTL INTDVEN VCHN1CTL Data Valid Event/Enable (Voltage Channel 1) DATVAL VCHN2CTL INTDVEN VCHN2CTL Data Valid Event/Enable (Voltage Channel 2) DATVAL VCHN3CTL INTDVEN VCHN3CTL Data Valid Event/Enable (Voltage Channel 3) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |