BlinkenArea - GitList
Repositories
Blog
Wiki
flaneth
Code
Commits
Branches
Tags
Search
Tree:
e8658d5
Branches
Tags
master
flaneth
firmware
ser62500.c
initial commit after making CF identify work
Stefan Schuermans
commited
e8658d5
at 2012-04-15 19:57:57
ser62500.c
Blame
History
Raw
/* flaneth - flash and ethernet version 0.2 date 2008-11-08 Copyright (C) 2007-2008 Stefan Schuermans <stefan@schuermans.info> Copyleft: GNU public license V2 - http://www.gnu.org/copyleft/gpl.html a BlinkenArea project - http://www.blinkenarea.org/ */ #include <avr/io.h> #include "ser62500.h" // send data (in network byte order) with 62500 baud in 9N2 protocol void Ser62500Send9N2(unsigned char *pData, unsigned short Length) // (extern) { unsigned short i; for (i = 0; i + 1 < Length; i += 2) Ser62500Out9N2(pData[i] << 8 | pData[i + 1]); }