| 전자부품 데이터시트 검색엔진 |
|
ST20-GP6 데이터시트(PDF) 71 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 데이터시트(HTML) 71 Page - STMicroelectronics |
|
71 / 123 page ![]() ST20-GP6 71/123 The watchdog timer function is enabled by an external pin ( WdEnable). If this pin is held low, then a watchdog reset will not occur. 12.4 RTC/WDT configuration registers The RTC/WDT has a number of registers which can be accessed by the CPU. The function of these registers is described below. RTCweeks register The RTCweeks register contains the value of the weeks counter. RTCmilliseconds register The RTCmilliseconds register contains the value of the milliseconds counter. RTCload register A write to the RTCload register loads the weeks and milliseconds counters with the values cur- rently set in the RTCweeks and RTCmilliseconds registers. To minimize the possibility of the counters being erroneously updated by rogue software, the counters are only loaded if the correct value (0xA) is written to the RTCload register. This register is cleared when the load takes place. It is also cleared when the system is reset. In addition, the load operation is only enabled if both the milliseconds and weeks registers have had values written to them since the last load of the counters (or since the system was reset). RTCstatus register The RTCstatus register contains RTC status information. To avoid the milliseconds and weeks counters being loaded with inconsistent values, the millisec- onds and weeks registers must not be modified until the update of the counters has completed. To enable software to detect this situation a status bit is provided in the RTCstatus register to indicate RTCweeks RTC/WDT base address + #00 Read/Write Bit Bit field Function 15:0 RTCweeks Value of weeks counter. Table 12.1 RTCweeks register format RTCmilliseconds RTC/WDT base address + #04 Read/Write Bit Bit field Function 29:0 RTCmilliseconds Value of milliseconds counter. Table 12.2 RTCmilliseconds register format RTCload RTC/WDT base address + #08 Write Bit Bit field Function 3:0 RTCload Loads the counters with the values set in the weeks and milliseconds registers. Write 0x0A. Table 12.3 RTCload register format |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |