[KSZ8081RND] wip: add driver for testing

This commit is contained in:
2025-05-10 13:04:31 +03:00
parent 6b38f3945e
commit 3d2f391749
4 changed files with 198 additions and 5 deletions

13
Core/Inc/KSZ8081RND.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef __KSZ8081RND
#define __KSZ8081RND
int KSZ8081RND_run_test(void);
HAL_StatusTypeDef HAL_ETH_ReadPHYRegister(ETH_HandleTypeDef *heth, uint32_t PHYAddr, uint32_t PHYReg,
uint32_t *pRegValue);
HAL_StatusTypeDef HAL_ETH_WritePHYRegister(const ETH_HandleTypeDef *heth, uint32_t PHYAddr, uint32_t PHYReg,
uint32_t RegValue);
#endif