[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Aw: Re: [PATCH] Firebee software poweroff



> 
> When the PIC receives this message (0x0c, O, F, F) it initiates the same
> power-down sequence as if the power button was pressed. This includes
> requesting time and NVRAM from the CPU. So everything works as normal.
> I've even tested it :)
> 
> Jo Even
> 

Nevermind, if you tested it, then it's probably ok - and my assumption was plain wrong because of lack of PIC assembler knowledge.

I looked at the code and just can't see offhand where "POWER_AUS" (the code that apparently gets called when the "OFF" command is received) calls code to read back time and nvram data from the Coldfire. Is this some interrupt trickery?

But nevermind, I don't need to understand everything ;)