add method peek data.

This commit is contained in:
Gatsby Van
2023-12-24 13:07:30 +08:00
parent ab9ef5b06c
commit 54c20aa46e
2 changed files with 29 additions and 4 deletions
+1
View File
@@ -242,6 +242,7 @@ void Phy_Halt(PHY_INST* instPtr);
int32_t Phy_SetMode(PHY_INST* instPtr, PHY_MODE modeCod);
int32_t Phy_SetupNextSlot(PHY_INST* instPtr, PHY_TOR_TYPE txrxMode, L1_FRAME_TYPE frameType, uint8_t* dataBuff);
void Phy_PeekRecvData(PHY_INST* instPtr, uint8_t* dataBuff);
void Phy_RetrieveRecvData(PHY_INST* instPtr, uint8_t* dataBuff);
bool Phy_IsFrameDetected(PHY_INST* instPtr);