??? 08/24/05 12:37 Read: times |
#99981 - do you set SCON as a byte or bitwise ? Responding to: ???'s previous message |
do you set SCON as a byte or bitwise ?
set SCON as a byte, it is not unusual that during power up the RxD get toggled. In such cases, a bitwise set of the SCIN values does not remove the RI. so, instead of sbit SM1 sbit REN make it SCON = M_SM1 + M_REN Erik |
Topic | Author | Date |
More encounters with Keil C51 | 01/01/70 00:00 | |
Simulate it! | 01/01/70 00:00 | |
It is not an homework | 01/01/70 00:00 | |
Proving nothing. | 01/01/70 00:00 | |
LCD | 01/01/70 00:00 | |
Simulation Results | 01/01/70 00:00 | |
Pointless | 01/01/70 00:00 | |
Got it !! | 01/01/70 00:00 | |
update | 01/01/70 00:00 | |
do you set SCON as a byte or bitwise ? | 01/01/70 00:00 | |
not an answer, but why do you call a fun | 01/01/70 00:00 | |
I don't C | 01/01/70 00:00 | |
inline | 01/01/70 00:00 | |
Compiler Tries | 01/01/70 00:00 | |
OT: inline, Keil ARM | 01/01/70 00:00 | |
C99 does specify inline as a keyword.![]() | 01/01/70 00:00 | |
Review index boundary value | 01/01/70 00:00 | |
Even More Pointless simulation! | 01/01/70 00:00 |