Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 218852

Forum Post: MSP430F6775A: SFR

$
0
0
Part Number: MSP430F6775A Tool/software: Hi, I would like to ask there is the SFR with length 10 bytes in a linker file I have noticed that it is not use in a script. So why is it there cuz I have noticed that that address is not described in user guid or datasheet I have just found the SFR register and it starts from address 0x100. I have found this ag_04.pdf but don't know whether it is valid for this model or not. And also what is the connection between SFR and the macro in the header file : #ifndef SFR_8BIT /* External references resolved by a device-specific linker command file */ #define SFR_8BIT( address ) extern volatile unsigned char address #define SFR_16BIT( address ) extern volatile unsigned int address //#define SFR_20BIT(address) extern volatile unsigned int address typedef void (* __SFR_FARPTR )(); #define SFR_20BIT( address ) extern __SFR_FARPTR address #define SFR_32BIT( address ) extern volatile unsigned long address #endif How is this actually being resolved? Thank you for your response!

Viewing all articles
Browse latest Browse all 218852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>