Hello,
I'm currently using MPLABC30 with a PIC24F16KA102 to do serial comms. I'm trying to use U2TX to transmit a value. But how do I test the UTXBF flag when it's not defined for the U2STA register? Here is the header file for the PIC.
"_UTXBF cannot be defined because it is used by more than one SFR"
So how do I access this bit, or any other bit that is not defined?
I'm not yet learned enough to deal directly with memory structs etc. Help!
Thanks
I'm currently using MPLABC30 with a PIC24F16KA102 to do serial comms. I'm trying to use U2TX to transmit a value. But how do I test the UTXBF flag when it's not defined for the U2STA register? Here is the header file for the PIC.
"_UTXBF cannot be defined because it is used by more than one SFR"
So how do I access this bit, or any other bit that is not defined?
I'm not yet learned enough to deal directly with memory structs etc. Help!
Thanks