2. 请问怎么往板子里的flash空间写数据?
typedef struct
{
unsigned int BaseAddr;
void (*Init)(void *hUART, int portnum);
unsigned char (*ReadByte)(void *hUART); /* Read data from a range in Flash */
void (*WriteByte)(void *hUART, unsigned char); /* Write data to a data range in Flash */
int (*RRDY)(void *hUART);
int (*XRDY)(void *hUART);
int (*SetBaudrate)(void *hUART, unsigned short Baudrate);
int (*SetByteFormat)(void *hUART, unsigned char ByteFormat);
} IMDM642_UART;