| поискавой системы для электроныых деталей |
|
MM58167 датащи(PDF) 3 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
MM58167 датащи(HTML) 3 Page - National Semiconductor (TI) |
|
3 / 10 page ![]() Functional Description Real Time Counter The real time counter is divided into 4-bit digits with 2 digits being accessed during any read or write cycle Each digit represents a BCD number and is defined in Table I Any unused bits are held at a logical zero during a read and ignored during a write An unused bit is any bit not neces- sary to provide a full BCD number For example tens of hours cannot legally exceed the number 2 thus only 2 bits are necessary to define the tens of hours The other 2 bits in the tens of hours digit are unused The unused bits are des- ignated in Table I as dashes The addressable portion of the counter is from milliseconds to months The counter itself is a ripple counter The ripple delay is less than 60 ms above 45V and 300 ms at 22V RAM 56 bits of RAM are contained on-chip These can be used for any necessary power down storage or as an alarm latch for comparison to the real time counter The data in the RAM can be compared to the real time counter on a digit basis The only digits that are not compared are the unit ten thousandths of seconds and tens of days of the week (these are unused in the real time counter) If the two most significant bits of any RAM digit are ones then this RAM location will always compare The rule of thumb for an ‘‘alarm’’ interrupt is All nibbles of higher order than speci- fied are set to C hex (always compare) All nibbles lower than specified are set to ‘‘zero’’ As an example if an alarm is to occur everyday at 1015 am configure the bits in RAM as shown in Table II The RAM is formatted the same as the real time counter 4 bits per digit 14 digits however there are no unused bits The unused bits in the real time counter will compare only to zeros in the RAM An address map is shown in Table III Interrupts and Comparator There are two interrupt outputs The first is the INTERRUPT OUTPUT (a true high signal) This output can be pro- grammed to provide 8 different output signals They are 10 Hz once per second once per minute once per hour once a day once a week once a month and when a RAM real time counter comparison occurs To enable the output a one is written into the interrupt control register at the bit location corresponding to the desired output frequency ( Fig- ure 1 ) Once one or more bits have been set in the interrupt control register the corresponding counter’s rollover to its reset state will clock the interrupt status register and cause the interrupt output to go high To reset the interrupt and to identify which frequency caused the interrupt the interrupt status register is read Reading this register places the con- tents of the status register on the data bus The interrupting frequency will be identified by a one in the respective bit position Removing the read will reset the interrupt The second interrupt is the STANDBY INTERRUPT (open drain output active low) This interrupt occurs when enabled and when a RAMreal time counter comparison occurs The STANDBY INTERRUPT is enabled by writing a one on the D0 line at address 16H or disabled by writing a zero on the D0 line This interrupt is not triggered by the edge of the compare signal but rather by the level Thus if the compare is enabled when the STANDBY INTERRUPT is enabled the interrupt will turn on immediately TABLE I Real Time Counter Format Units Max Tens Max Counter Addressed D0 D1 D2 D3 BCD D4 D5 D6 D7 BCD Code Code Milliseconds (00H) 0 D4 D5 D6 D7 9 Hundredths and Tenths Sec (01H) D0 D1 D2 D3 9 D4 D5 D6 D7 9 Seconds (02H) D0 D1 D2 D3 9 D4 D5 D6 5 Minutes (03H) D0 D1 D2 D3 9 D4 D5 D6 5 Hours (04H) D0 D1 D2 D3 9 D4 D5 2 Day of the Week (05H) D0 D1 D2 7 0 Day of the Month (06H) D0 D1 D2 D3 9 D4 D5 3 Month (07H) D0D1D2D3 9 D4 1 () indicates unused bits 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 |