-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peripheral Example: I2C Slave (Interrupts) #46
Comments
Looking over the existing samples I was able to come up with this code however it does not appear to be working properly. ` void IIC_Init(u32 frequency, u16 address)
} void I2C1_IRQHandler(void) attribute((interrupt("WCH-Interrupt-fast"))); // Interrupt Service Routine for I2C1 Event int main(void)
} |
Have you checked this libs? |
Can someone post a example of how to use the I2C Peripheral as a I2C Slave driven by Interrupts instead of polling?
The text was updated successfully, but these errors were encountered: