| 数据搜索系统,热门电子元器件搜索 |
|
PIC12F1822-I/MF 数据表(PDF) 78 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC12F1822-I/MF 数据表(HTML) 78 Page - Microchip Technology |
|
78 / 398 page ![]() PIC12F/LF1822/16F/LF1823 DS41413A-page 78 Preliminary 2010 Microchip Technology Inc. 7.3 MCLR The MCLR is an optional external input that can reset the device. The MCLR function is controlled by the MCLRE bit of Configuration Word 1 and the LVP bit of Configuration Word 2 (Table 7-2). 7.3.1 MCLR ENABLED When MCLR is enabled and the pin is held low, the device is held in Reset. The MCLR pin is connected to VDD through an internal weak pull-up. The device has a noise filter in the MCLR Reset path. The filter will detect and ignore small pulses. 7.3.2 MCLR DISABLED When MCLR is disabled, the pin functions as a general purpose input and the internal weak pull-up is under software control. See Section 12.2 “PORTA Registers” for more information. 7.4 Watchdog Timer (WDT) Reset The Watchdog Timer generates a Reset if the firmware does not issue a CLRWDT instruction within the time-out period. The TO and PD bits in the STATUS register are changed to indicate the WDT Reset. See Section 10.0 “Watchdog Timer” for more information. 7.5 RESET Instruction A RESET instruction will cause a device Reset. The RI bit in the PCON register will be set to ‘0’. See Table 7-4 for default conditions after a RESET instruction has occurred. 7.6 Stack Overflow/Underflow Reset The device can reset when the Stack Overflows or Underflows. The STKOVF or STKUNF bits of the PCON register indicate the Reset condition. These Resets are enabled by setting the STVREN bit in Configuration Word 2. See Section 3.4.2 “Overflow/Underflow Reset” for more information. 7.7 Programming Mode Exit Upon exit of Programming mode, the device will behave as if a POR had just occurred. 7.8 Power-Up Timer The Power-up Timer optionally delays device execution after a BOR or POR event. This timer is typically used to allow VDD to stabilize before allowing the device to start running. The Power-up Timer is controlled by the PWRTE bit of Configuration Word 1. 7.9 Start-up Sequence Upon the release of a POR or BOR, the following must occur before the device will begin executing: 1. Power-up Timer runs to completion (if enabled). 2. Oscillator start-up timer runs to completion (if required for oscillator source). 3. MCLR must be released (if enabled). The total time-out will vary based on oscillator configu- ration and Power-up Timer configuration. See Section 5.0 “Oscillator Module (With Fail-Safe Clock Monitor)” for more information. The Power-up Timer and oscillator start-up timer run independently of MCLR Reset. If MCLR is kept low long enough, the Power-up Timer and oscillator start-up timer will expire. Upon bringing MCLR high, the device will begin execution immediately (see Figure 7-4). This is useful for testing purposes or to synchronize more than one device operating in parallel. TABLE 7-2: MCLR CONFIGURATION MCLRE LVP MCLR 00 Disabled 10 Enabled x1 Enabled Note: A Reset does not drive the MCLR pin low. |
|
链接网址 |
| 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 |