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.

I2C Start condition code for PIC 16f877a and XMEGA128A1

Status
Not open for further replies.

PA3040

Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Dear All

Following code is for PIC16f877a I2C Start condition

Code:
void I2CStart(){
        SEN = 1;             
        while(SEN); 
}

Can I have the I2C start condition code for XMEGA128A1 MCU

Thanks in advance
 

Read the TWI (two wire interface) peripheral in device datasheet...

Would you please advice me by example like my first post example

thanks again and again
 

Dear mathespbe

If I am correct you are referring to the PIC

I should asking AVR XMEGA
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top