I'm trying to determine the flash swap indicator address previously set within a Kinetis K70. From reading the data sheet I'm not clear how this is read and I've seen some posts that indicate there may be errors in these sections. If I do a FTFE Read Resource at address 0x20000 with a Resource Select Code of 0x00 it looks like the Swap IFR information is returned as :
Swap Enable Word = ( ( FTFE_FCCOB4 << 8 ) | FTFE_FCCOB5 )
Swap Indicator Address = ( ( ( FTFE_FCCOB6 << 8 ) | FTFE_FCCOB7 ) << 4 )
Is this the proper way to determine any existing flash swap indicator address in a Kinetis K70?