c routine for a read a byte from flash in HCS08 family

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

c routine for a read a byte from flash in HCS08 family

520 Views
avl
Contributor I

i wrote a byte on specific location and i want to read it.

 

 

C routine for read from flash in MC9S08AW60. 

Labels (1)
0 Kudos
Reply
1 Reply

281 Views
bigmac
Specialist III

Hello,

 

Maybe the following simple function -

 

byte read_mem( const byte *addr)

{

   return (*addr);

}

 

 

Regards,

Mac

 

0 Kudos
Reply