This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Hi friends,
can anybody tell me how i should open the serial port C with 7 databits, 2
stopbits and with even parity.i will thankful to you for replying.
if possible plz suggest me the code snipetts regarding that.
Thanks.
Regards
Vidyadhar

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
vidyadhar dodamani wrote:
> Hi friends,
> can anybody tell me how i should open the serial port C with 7
> databits, 2 stopbits and with even parity.i will thankful to you for
> replying.
> if possible plz suggest me the code snipetts regarding that.
>
Do you need 2 stop bits? Very few devices actually need more than 1.
The DC manual describes the parameters to open the port. Selecting 2
stop bits adds ectra overhead as it need to use 9-bit mode and emulate
the extra bit.
--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
Rabbit libs: http://www.shdesigns.org/rabbit/
today's fortune
And I will do all these good works, and I will do them for free!
My only reward will be a tombstone that says "Here lies Gomez Addams --
he was good for nothing."
-- Jack Sharkey, The Addams Family

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )