IAP_Main
ReceivePacket()
is only used within IAP_Main.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
IAP_Main
ReceivePacket()
ReceivePacket() function
Receive a packet from sender
Syntax
from
ymodem.c:43
static
HAL_StatusTypeDef
ReceivePacket
(
uint8_t
*
p_data
,
uint32_t
*
p_length
,
uint32_t
timeout
)
;
Implemented in
ymodem.c:61
Arguments
p_data
p_length
timeout
Return value
HAL_OK: normally return HAL_BUSY: abort by user
References
Location
Referrer
Text
ymodem.c:61
static
HAL_StatusTypeDef
ReceivePacket
(
uint8_t
*
p_data
,
uint32_t
*
p_length
,
uint32_t
timeout
)
ymodem.c:43
static
HAL_StatusTypeDef
ReceivePacket
(
uint8_t
*
p_data
,
uint32_t
*
p_length
,
uint32_t
timeout
)
;
ymodem.c:308
Ymodem_Receive()
switch
(
ReceivePacket
(
aPacketData
,
&
packet_length
,
DOWNLOAD_TIMEOUT
)
)
Call Tree
Functions calling
ReceivePacket()
Functions called by
ReceivePacket()
Ymodem_Receive()
all items filtered out
ReceivePacket()
HAL_UART_Receive()
Cal_CRC16()
all items filtered out
Data read by
ReceivePacket()
Data written by
ReceivePacket()
HAL_StatusTypeDef::HAL_OK
HAL_StatusTypeDef::HAL_ERROR
HAL_StatusTypeDef::HAL_BUSY
ReceivePacket()::p_data
ReceivePacket()::timeout
ReceivePacket()::crc
ReceivePacket()::packet_size
ReceivePacket()::status
ReceivePacket()::char1
all items filtered out
ReceivePacket()
ReceivePacket()::crc
ReceivePacket()::packet_size
ReceivePacket()::status
all items filtered out
Type of
ReceivePacket()
ReceivePacket()
HAL_StatusTypeDef
HAL_StatusTypeDef
uint8_t
uint32_t
all items filtered out