2004-10-14 07:56 PM
2011-05-17 03:03 AM
Hi,All!
Can some SFR about second uart ,such like scon2, be read or written in bit mode? The demo source code provided by ST operates this SFR in BYTE mode! Thanks!2011-05-17 03:03 AM
The second UART in the uPSD33xx devices is bit addressable. The second UART in the uPSD32xx devices is only byte addressable. I am not sure what demo code you are looking at, but it is probably a carryover from the 32xx and was not updated to take advantage of the bit addressability available in the 33xx.
2011-05-17 03:03 AM
Whenever the address of a SFR is divisible by 8, that SFR is bit addressable!