This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how can define a sfr var in a union or struct?

How can define a union or a struct,and the member is a sfr register?such as
pre
union or struct
{
unsigned long dwData;
unsigned char bData[4];
}
/pre

How can let the bData[4] used the sfr var?

Thanks in advanced./

0