-
Notifications
You must be signed in to change notification settings - Fork 1
Added new functions to LAN8670 Driver #360
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds three new functions to the LAN8670 driver API to support PLCA (Physical Layer Collision Avoidance) configuration and debugging: status checking, and TOTMR (Transmit Opportunity Timer) reading/writing capabilities.
Changes:
- Removed
__attribute__((unused))frommmd_read_register_fieldto enable its use in new functions - Added three new PLCA-related functions:
LAN8670_PLCA_Get_Status,LAN8670_PLCA_ReadTOTMR, andLAN8670_PLCA_WriteTOTMR - Added include for
u_tx_debug.hto support error logging
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| general/src/lan8670.c | Implements three new PLCA functions and enables previously unused helper function |
| general/include/lan8670.h | Declares the three new PLCA functions with documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Adds new functions to the LAN8670 driver API, to assist with configuring and debugging PLCA.