|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
There is no way to reference the bits in the S1CON SFR for Philips 8xC51Mx devices.
The REG51M.H header file is missing the following bit definitions for the second UART (S1CON).
/* S1CON */ sbit SM0_1 = S1CON^7; // alternatively "FE" sbit FE_1 = S1CON^7; sbit SM1_1 = S1CON^6; sbit SM2_1 = S1CON^5; sbit REN_1 = S1CON^4; sbit TB8_1 = S1CON^3; sbit RB8_1 = S1CON^2; sbit TI_1 = S1CON^1; sbit RI_1 = S1CON^0;
You may add the above definitions to your REG51M.H header file. The updated header file will be included in the next release.
Article last edited on: 2004-02-20 19:32:39
Did you find this article helpful? Yes No
How can we improve this article?