interrupt and timer
From: Bob888y (bob888y_at_wmconnect.com)
Date: 08/28/03
- Next message: Dragan Ostojic: "Re: interrupt and timer"
- Previous message: Mark Sokos: "Re: Task scheduling"
- Next in thread: Dragan Ostojic: "Re: interrupt and timer"
- Reply: Dragan Ostojic: "Re: interrupt and timer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Aug 2003 03:28:12 GMT
Here is a problem I want suggestions:
I have some recovery after having detected some hardware failure. This recovery
is absolutely the most important thing I have to do, and dont want any
interruption.
So I want disable the interrupts during the recovery period.
The problem is that the recovery involve setting some internal registers to a
certains device, I can not access directly, instead I have to set a commands
register, activate the command, the read or write is completed until the device
ack'ed. Since I disable all interrupt, I poll the device to see if the device
acq'd. At the same time, I want setup a timer for the polling to prevent the
system hang. How would the timer would work if the interrupts are disabled?
- Next message: Dragan Ostojic: "Re: interrupt and timer"
- Previous message: Mark Sokos: "Re: Task scheduling"
- Next in thread: Dragan Ostojic: "Re: interrupt and timer"
- Reply: Dragan Ostojic: "Re: interrupt and timer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|