Discussion in "Project Help" started by    nismo    Jul 31, 2008.
Thu Aug 28 2008, 12:39 pm
#11
I am wondering why and what does #include "reg_c51.h" do? Why they need to call this self made header file... When i call the header file reg_c51.h, many errors present. i am using the master mode without slave select.

#define Sfr(x, y) sfr x = y---->what does it do?

void it_SPI(void) interrupt 9----> why there is an interrupt 9, i though this is not a correct syntax

while(!transmit_completed);----> What does it do?

what should i do in case 0x10 and case 0x40:?


[ Edited Sat Aug 30 2008, 04:30 pm ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am