[mc1322x] Access to LQI
Mariano Alvira
mar at devl.org
Thu Jun 10 12:39:37 EDT 2010
On Thu, Jun 10, 2010 at 05:07:50PM +0100, Clive Stubbings wrote:
> OK,
>
> So is there a way to call that?
>
> Can I just do something like..
>
> .global PhyPlmeGetLQI
> .type PhyPlmeGetLQI, %function
> .thumb_set PhyPlmeGetLQI, 0x0000e04c
> .weak PhyPlmeGetLQI
Hmmm... something like that might work. I use the ROM calls for the
nvm routines. You can see how I do it in ~/libmc1322x/lib/nvm.c. E.g.:
nvmErr_t (*nvm_erase)
(nvmInterface_t nvmInterface, nvmType_t nvmType ,uint32_t
sectorBitfield)
= (void*) 0x00006e05;
> Or do I need to go look at that rom dissassmbly and work out whats happening?
Sometimes you do; in order to figure out what to pass it or how to
call it, for instance.
-Mar.
More information about the mc1322x
mailing list