Easy Kit FMCDC-MB95260H-EK-01 V1.2
Chapter 4 4BSample Code Manual
4.3 Source Code File Description
In SOFTUNE, the structure is shown as Figure 4-3. After compiling successfully in
SOFTUNE, user could easily identify source code and header files in this window.
Figure 4-3: SOFTUNE Version
4.3.1 Header Files
The MB95200.h and the _f2mc8fx.h are header files, including MB95200 Series MCU I/O
registers definition.
Here take PDR0 for example. In MB95200.h, PDR0 is defined as below.
“
#ifdef __IO_DEFINE
#pragma segment IO=IO_PDR0, locate=0x0
#endif
typedef union {
__BYTE
byte;
struct {
__BYTE P00:1;
__BYTE P01:1;
__BYTE P02:1;
__BYTE P03:1;
__BYTE P04:1;
__BYTE P05:1;
MCU-AN-500059-E-12 – Page 15