| поискавой системы для электроныых деталей |
|
PC87591L датащи(PDF) 212 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87591L датащи(HTML) 212 Page - National Semiconductor (TI) |
|
212 / 437 page ![]() Embedded Controller Modules (Continued) www.national.com 212 Revision 1.07 Low-Power Threshold Comparison Mode (ACMMOD = 112) 1. Set the desired threshold value in bits THRSHD(5-0) in THRDAT register. 2. Start a new periodic, low-power threshold comparison by setting START in ACMCTS register to 1. 3. When there is an input under (or over) threshold event, software can detect the event by waiting for OVUNTHEV in ACMCTS register to be set to 1. 4. Read comparison result for inputs 0 to 7 by reading bits CMPIN(0-7) in CMPRES register. 5. Clear the event flag (release the ACM interrupt if enabled) by writing 1 to OVUNTHEV in ACMCTS register. Polling Driven Operation. Valid measurement results may be retrieved by polling the event flags in ACMCTS register, EOMEV, EOCEV or OVUNTHEV, according to the selected operation mode. After reading the relevant data, clear the polled event flag by writing 1. Interrupt Driven Operation. When receiving an active ACM interrupt request, the software should check the two event flags, EOMEV or OVUNTHEV, to identify the source of the interrupt. After reading the relevant data, clear (by setting to 1) the event flag that caused the interrupt. Clearing the flag releases the ACM interrupt request. 4.14.5 ACM Registers The ACM control/status and data out register set interfaces with the core through the Peripheral bus. For a summary of the abbreviations used for Register Type, see “Register Abbreviations and Access” on page 34. ACM Register Map The ACM register set contains four control and status registers and nine data out registers. Table 27. ACM Register Map Mnemonic Register Name Type ACMCTS ACM Control and Status Varies per bit ACMCNF ACM Configuration R/W ACMTIM ACM Timing Control R/W THRDAT Comparison Threshold Data R/W CMPRES Comparison Result RO Reserved VOLDAT0 Voltage Level Data - Input 0 RO VOLDAT1 Voltage Level Data - Input 1 RO VOLDAT2 Voltage Level Data - Input 2 RO VOLDAT3 Voltage Level Data - Input 3 RO VOLDAT4 Voltage Level Data - Input 4 RO VOLDAT5 Voltage Level Data - Input 5 RO VOLDAT6 Voltage Level Data - Input 6 RO VOLDAT7 Voltage Level Data - Input 7 RO |
|
ссылки 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 |