USB >> PIC18F4550
#11
Aga tõesti, loe registrit RCON, nagu soovitati. Seal on põhjus kirjas. Kui on resetiga tegu.
Kood:
bit 7 IPEN: Interrupt Priority Enable bit 1 = Enable priority levels on interrupts 0 = Disable priority levels on interrupts (PIC16CXXX Compatibility mode) bit 6 SBOREN: BOR Software Enable bit(1) If BOREN1:BOREN0 = 01: 1 = BOR is enabled 0 = BOR is disabled If BOREN1:BOREN0 = 00, 10 or 11: Bit is disabled and read as ‘0’. bit 5 Unimplemented: Read as ‘0’ bit 4 RI: RESET Instruction Flag bit 1 = The RESET instruction was not executed (set by firmware only) 0 = The RESET instruction was executed causing a device Reset (must be set in software after a Brown-out Reset occurs) bit 3 TO: Watchdog Time-out Flag bit 1 = Set by power-up, CLRWDT instruction or SLEEP instruction 0 = A WDT time-out occurred bit 2 PD: Power-Down Detection Flag bit 1 = Set by power-up or by the CLRWDT instruction 0 = Set by execution of the SLEEP instruction bit 1 POR: Power-on Reset Status bit(2) 1 = A Power-on Reset has not occurred (set by firmware only) 0 = A Power-on Reset occurred (must be set in software after a Power-on Reset occurs) bit 0 BOR: Brown-out Reset Status bit 1 = A Brown-out Reset has not occurred (set by firmware only) 0 = A Brown-out Reset occurred (must be set in software after a Brown-out Reset occurs)
Vasta


Sõnumeid selles teemas
USB >> PIC18F4550 - Autor: A.R. - 02-05-2011, 04:39 PM
RE: USB >> PIC18F4550 - Autor: KaruTEC - 02-05-2011, 05:09 PM
RE: USB >> PIC18F4550 - Autor: A.R. - 02-05-2011, 05:46 PM
RE: USB >> PIC18F4550 - Autor: felch - 03-05-2011, 08:01 AM
RE: USB >> PIC18F4550 - Autor: A.R. - 03-05-2011, 08:58 AM
RE: USB >> PIC18F4550 - Autor: KaruTEC - 03-05-2011, 09:36 AM
RE: USB >> PIC18F4550 - Autor: andrei - 03-05-2011, 12:25 PM
RE: USB >> PIC18F4550 - Autor: felch - 03-05-2011, 01:14 PM
RE: USB >> PIC18F4550 - Autor: A.R. - 03-05-2011, 03:37 PM
RE: USB >> PIC18F4550 - Autor: Murphy - 03-05-2011, 05:43 PM
RE: USB >> PIC18F4550 - Autor: felch - 03-05-2011, 09:59 PM
RE: USB >> PIC18F4550 - Autor: A.R. - 03-05-2011, 11:08 PM
RE: USB >> PIC18F4550 - Autor: KaruTEC - 04-05-2011, 10:43 AM
RE: USB >> PIC18F4550 - Autor: A.R. - 05-05-2011, 08:22 AM
RE: USB >> PIC18F4550 - Autor: KaruTEC - 05-05-2011, 09:52 AM
RE: USB >> PIC18F4550 - Autor: A.R. - 05-05-2011, 10:24 AM
RE: USB >> PIC18F4550 - Autor: felch - 05-05-2011, 08:14 PM
RE: USB >> PIC18F4550 - Autor: A.R. - 05-05-2011, 10:53 PM
RE: USB >> PIC18F4550 - Autor: felch - 09-05-2011, 07:58 AM
RE: USB >> PIC18F4550 - Autor: A.R. - 09-05-2011, 09:21 AM
RE: USB >> PIC18F4550 - Autor: felch - 09-05-2011, 02:16 PM
RE: USB >> PIC18F4550 - Autor: dieter - 19-05-2011, 10:10 PM
RE: USB >> PIC18F4550 - Autor: A.R. - 20-05-2011, 07:07 PM
RE: USB >> PIC18F4550 - Autor: A.R. - 10-09-2011, 09:31 AM

Alamfoorumi hüpe:


Kasutaja, kes vaatavad seda teemat: 1 külali(st)ne