Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | Sorry to Interrupt!

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

Sorry to Interrupt! - Author Unknown - Jul 2 11:29:00 2004

I know, I know... corny subject, but relevant. I need a way to
handle interrupts with CCS C Compiler and the PIC 18F458.
Basically, I'll be sending output from the PIC constantly through
the serial line, but every so often, I might be getting something
back, I need a way to handle that. Any suggestions?

Shamoon





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: Sorry to Interrupt! - Joe Jansen - Jul 2 12:13:00 2004

I assume you mean that you get something back on the serial line? If
so, the PIE register, bit 5, will enable an interrupt to occur
whenever data arrives on the receive line. PIR can be checked in your
interrupt routine to verify that it was triggered by data arriving.
Section 18.2.2 (page 191 of the datasheet) gives details on how to do
this.

--Joe Jansen

On Fri, 02 Jul 2004 16:29:29 -0000, <> wrote:
> I know, I know... corny subject, but relevant. I need a way to
> handle interrupts with CCS C Compiler and the PIC 18F458.
> Basically, I'll be sending output from the PIC constantly through
> the serial line, but every so often, I might be getting something
> back, I need a way to handle that. Any suggestions?
>
> Shamoon > to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
> Yahoo! Groups Links





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Sorry to Interrupt! - Duane Mohney - Jul 3 19:42:00 2004

Look in the CCS help for #INT_RDA

Duane On Fri, 2 Jul 2004 13:13:27 -0400, Joe Jansen <> wrote:
> I assume you mean that you get something back on the serial line? If
> so, the PIE register, bit 5, will enable an interrupt to occur
> whenever data arrives on the receive line. PIR can be checked in your
> interrupt routine to verify that it was triggered by data arriving.
> Section 18.2.2 (page 191 of the datasheet) gives details on how to do
> this.
>
> --Joe Jansen >
>
> On Fri, 02 Jul 2004 16:29:29 -0000, <> wrote:
> > I know, I know... corny subject, but relevant. I need a way to
> > handle interrupts with CCS C Compiler and the PIC 18F458.
> > Basically, I'll be sending output from the PIC constantly through
> > the serial line, but every so often, I might be getting something
> > back, I need a way to handle that. Any suggestions?
> >
> > Shamoon
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
> > Yahoo! Groups Links
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
> Yahoo! Groups Links



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Hi-Tech C Lite .obj to MPLAB COFF .o? - r p - Jul 3 21:44:00 2004

I have some functions and structures written in
HI-Tech C that I would like link to my main .asm
program in MPLAB. MPLAB claims that my .obj and .lib
from Hi-Tech isn't COFF format. I ran the Hi-Tech
cromwell utility on the Hi-Tech generated .obj in
verbose mode and it reports back that the input file
is not of a known type, including Hi-Tech!

Anyone know how to get MPLAB to link the Hi-Tech objs
into an MPLAB project?

Thanks
Richard
__________________________________




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )