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.
Hello Shivaram,
No it doesn't through an error. But am not seeing address location 0x80 changing.
I want to create my own library for all the hardware registers.
Hello,
I have the following code.
I want to define a PORTA at address 0x80;
and then write an 8 bit data to PORTA.
I am not getting the expected result.
typedef union {
byte Byte;
struct {
byte BIT0 :1;
byte BIT1 :1...
Hello,
I wrote the following code to toggle the PORT0 of AT89S8253. I dont want to use the header files available for AT89S8253.
#define PORT0 (*((volatile unsigned char*)(0x80))) /* P0 @ 0x80 */
void main()
{
unsigned int i;
while(1)
{
for(i=1000; i>0; i--);
PORT0 = 0xFF...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.