| поискавой системы для электроныых деталей |
|
ADIS16480/PCBZ датащи(PDF) 38 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADIS16480/PCBZ датащи(HTML) 38 Page - Analog Devices |
|
38 / 40 page ![]() ADIS16480 Data Sheet Rev. 0 | Page 38 of 40 For example, set SLP_CNT[7:0] = 0x64 (DIN = 0x9064), then set SLP_CNT[8] = 1 (DIN = 0x9101) to start a sleep period of 100 seconds. Table 151. SLP_CNT (Page 3, Base Address = 0x10) Bits Description [15:10] Not used 9 Power-down mode 8 Normal sleep mode [7:0] Programmable time bits; 1 sec/LSB; 0x00 = indefinite If the sleep mode and power-down mode bits are both set high, the normal sleep mode (SLP_CNT[8]) bit takes precedence. General-Purpose Registers The USER_SCR_x registers (see Table 152, Table 153, Table 154, and Table 155) provide four 16-bit registers for storing data. Table 152. USER_SCR_1 (Page 2, Base Address = 0x74) Bits Description [15:0] User-defined Table 153. USER_SCR_2 (Page 2, Base Address = 0x76) Bits Description [15:0] User-defined Table 154. USER_SCR_3 (Page 2, Base Address = 0x78) Bits Description [15:0] User-defined Table 155. USER_SCR_4 (Page 2, Base Address = 0x7A) Bits Description [15:0] User-defined Real-Time Clock Configuration/Data The VDDRTC power supply pin (see Table 5, Pin 23) provides a separate supply for the real-time clock (RTC) function. This enables the RTC to keep track of time, even when the main supply (VDD) is off. Configure the RTC function by selecting one of two modes in CONFIG[0] (see Table 106). The real-time clock data is available in the TIME_MS_OUT register (see Table 156), TIME_DH_OUT register (see Table 157), and TIME_YM_OUT register (see Table 158). When using the elapsed timer mode, the time data registers start at 0x0000 when the device starts up (or resets) and begin keeping time in a manner that is similar to a stopwatch. When using the clock/calendar mode, write the current time to the real-time registers in the following sequence: seconds (TIME_MS_OUT[5:0]), minutes (TIME_ MS_OUT[13:8]), hours (TIME_DH_OUT[5:0]), day (TIME_DH_OUT[12:8]), month (TIME_YM_OUT[3:0]), and year (TIME_YM_OUT[14:8]). The updates to the timer do not become active until there is a successful write to the TIME_ YM_OUT[14:8] byte. The real-time clock registers reflect the newly updated values only after the next seconds tick of the clock that follows the write to TIME_YM_OUT[14:8] (year). Writing to TIME_ YM_OUT[14:8] activates all timing values; therefore, always write to this location last when updating the timer, even if the year information does not require updating. Write the current time to each time data register after setting CONFIG[0] = 1 (DIN = 0x8003, DIN = 0x8A01). Note that CONFIG[1] provides a bit for managing daylight savings time. After the CONFIG and TIME_xx_OUT registers are configured, set GLOB_CMD[3] = 1 (DIN = 0x8003, DIN = 0x8208, DIN = 0x8300) to back up these settings in flash, and use a separate 3.3 V source to supply power to the VDDRTC function. Note that access to time data in the TIME_xx_OUT registers requires normal operation (VDD = 3.3 V and full startup), but the timer function only requires that VDDRTC = 3.3 V when the rest of the ADIS16480 is turned off. Table 156. TIME_MS_OUT (Page 0, Base Address = 0x78) Bits Description [15:14] Not used [13:8] Minutes, binary data, range = 0 to 59 [7:6] Not used [5:0] Seconds, binary data, range = 0 to 59 Table 157. TIME_DH_OUT (Page 0, Base Address = 0x7A) Bits Description [15:13] Not used [12:8] Day, binary data, range = 1 to 31 [7:6] Not used [5:0] Hours, binary data, range = 0 to 23 Table 158. TIME_YM_OUT (Page 0, Base Address = 0x7C) Bits Description [15] Not used [14:8] Year, binary data, range = 0 to 99, relative to 2000 A.D. [7:4] Not used [3:0] Month, binary data, range = 1 to 12 |
|
ссылки 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 |