mullymully
Joined: 21 Jan 2013 Posts: 2
|
Port B Interrupts + Analog Question [Solved] |
Posted: Mon Jan 21, 2013 11:53 am |
|
|
I'm working with the datasheet, but I have a question about sharing Port B change on port (B4-B7) and Analog together. The details are:
1) PIC18F66K80
2) RB5 is an external interrupt
3) RB4 is an analog input
So my question is, if I:
1) TRIS RB4 & RB5 as inputs, and
2) Set RB4 as an analog input
Will the PORT B interrupt on change fire when an analog input exceeds V_In_High (0.85 * VCC, or 4.25V @ 5V_VCC)?
More basically, if RB4 is declared an analog input, can it cause a Change-On-Port interrupt? |
|