stm32_serDes_protobuf_project/app/app.c

17 lines
285 B
C
Raw Normal View History

2024-03-28 17:51:39 +03:00
#include "app.h"
2024-04-30 13:10:11 +03:00
void app() {
2024-03-28 17:51:39 +03:00
2024-05-02 17:19:55 +03:00
init_LWIP();
2024-03-28 17:51:39 +03:00
while(1) {
2024-05-02 17:19:55 +03:00
// process_LWIP();
uint32_t regvalue = 0;
HAL_ETH_ReadPHYRegister(getEthStruct(), 1, &regvalue);
2024-04-30 13:10:11 +03:00
delay(500);
2024-05-02 17:19:55 +03:00
printf("Test: %d\r\n", regvalue);
2024-04-30 13:10:11 +03:00
// process_LWIP();
2024-03-28 17:51:39 +03:00
};
}