Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

8051 uart low level functions in C

Status
Not open for further replies.

tom324

Full Member level 1
Joined
Jun 26, 2001
Messages
98
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Croatia
Activity points
672
Here are some of my C routines for 8051. The basic idea is to make code more portable. For example I test my code under M$ Visual studio and, when code is OK, just recompile it using K*eil. (Of course under VC++ low level routines are different but interface is the same.)

Hope this is helpful. Do not forget to set OSC_FREQ in timer.h

Tom

PS. DO NOT forget to download update (the message below this one)
 

I made a small bug while beautifying the code. Update attached

Tom
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top