#useRS232(....long_data...) valid for software ,hardware or both of UART ?
regards
Jan
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Sat May 28, 2005 6:38 am
It is valid for both the hardware AND software UART. Using the specified pins the compiler will know if it has to use the inbuilt hardware UART or create a software equivalent.
Please note that there are some differences between the hardware and software UART. The most important differences are that the software UART won't generate interrupts and with the hardware UART you can't use the INVERT option.
If you want to use a software UART on pins assigned to a hardware UART then add the force_sw option.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum