Skip to content

Commit 76384d2

Browse files
Rename ETH_TxPacketConfigTypeDef in STM32 drivers
1 parent 19134e1 commit 76384d2

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

source/portable/NetworkInterface/STM32/Drivers/F7/stm32f7xx_hal_eth.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
static void ETH_DMATxDescListInit( ETH_HandleTypeDef * heth );
294294
static void ETH_DMARxDescListInit( ETH_HandleTypeDef * heth );
295295
static uint32_t ETH_Prepare_Tx_Descriptors( ETH_HandleTypeDef * heth,
296-
const ETH_TxPacketConfigTypeDef * pTxConfig,
296+
const ETH_TxPacketConfig * pTxConfig,
297297
uint32_t ItMode );
298298
static void ETH_UpdateDescriptor( ETH_HandleTypeDef * heth );
299299
static void ETH_FlushTransmitFIFO( ETH_HandleTypeDef * heth );
@@ -971,7 +971,7 @@
971971
* @retval HAL status
972972
*/
973973
HAL_StatusTypeDef HAL_ETH_Transmit( ETH_HandleTypeDef * heth,
974-
ETH_TxPacketConfigTypeDef * pTxConfig,
974+
ETH_TxPacketConfig * pTxConfig,
975975
uint32_t Timeout )
976976
{
977977
uint32_t tickstart;
@@ -1048,7 +1048,7 @@
10481048
* @retval HAL status
10491049
*/
10501050
HAL_StatusTypeDef HAL_ETH_Transmit_IT( ETH_HandleTypeDef * heth,
1051-
ETH_TxPacketConfigTypeDef * pTxConfig )
1051+
ETH_TxPacketConfig * pTxConfig )
10521052
{
10531053
if( pTxConfig == NULL )
10541054
{
@@ -3129,7 +3129,7 @@
31293129
* @retval Status
31303130
*/
31313131
static uint32_t ETH_Prepare_Tx_Descriptors( ETH_HandleTypeDef * heth,
3132-
const ETH_TxPacketConfigTypeDef * pTxConfig,
3132+
const ETH_TxPacketConfig * pTxConfig,
31333133
uint32_t ItMode )
31343134
{
31353135
ETH_TxDescListTypeDef * dmatxdesclist = &heth->TxDescList;

source/portable/NetworkInterface/STM32/Drivers/F7/stm32f7xx_hal_eth.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
* This parameter can be a value of @ref ETH_Tx_Packet_Inner_VLAN_Control */
156156

157157
void * pData; /*!< Specifies Application packet pointer to save */
158-
} ETH_TxPacketConfigTypeDef;
158+
} ETH_TxPacketConfig;
159159

160160
/**
161161
*
@@ -2046,10 +2046,10 @@
20462046
#endif /* HAL_ETH_USE_PTP */
20472047

20482048
HAL_StatusTypeDef HAL_ETH_Transmit( ETH_HandleTypeDef * heth,
2049-
ETH_TxPacketConfigTypeDef * pTxConfig,
2049+
ETH_TxPacketConfig * pTxConfig,
20502050
uint32_t Timeout );
20512051
HAL_StatusTypeDef HAL_ETH_Transmit_IT( ETH_HandleTypeDef * heth,
2052-
ETH_TxPacketConfigTypeDef * pTxConfig );
2052+
ETH_TxPacketConfig * pTxConfig );
20532053

20542054
HAL_StatusTypeDef HAL_ETH_WritePHYRegister( const ETH_HandleTypeDef * heth,
20552055
uint32_t PHYAddr,

source/portable/NetworkInterface/STM32/Drivers/H5/stm32h5xx_hal_eth.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
static void ETH_DMATxDescListInit( ETH_HandleTypeDef * heth );
268268
static void ETH_DMARxDescListInit( ETH_HandleTypeDef * heth );
269269
static uint32_t ETH_Prepare_Tx_Descriptors( ETH_HandleTypeDef * heth,
270-
const ETH_TxPacketConfigTypeDef * pTxConfig,
270+
const ETH_TxPacketConfig * pTxConfig,
271271
uint32_t ItMode );
272272
static void ETH_UpdateDescriptor( ETH_HandleTypeDef * heth );
273273

@@ -933,7 +933,7 @@
933933
* @retval HAL status
934934
*/
935935
HAL_StatusTypeDef HAL_ETH_Transmit( ETH_HandleTypeDef * heth,
936-
ETH_TxPacketConfigTypeDef * pTxConfig,
936+
ETH_TxPacketConfig * pTxConfig,
937937
uint32_t Timeout )
938938
{
939939
uint32_t tickstart;
@@ -1010,7 +1010,7 @@
10101010
* @retval HAL status
10111011
*/
10121012
HAL_StatusTypeDef HAL_ETH_Transmit_IT( ETH_HandleTypeDef * heth,
1013-
ETH_TxPacketConfigTypeDef * pTxConfig )
1013+
ETH_TxPacketConfig * pTxConfig )
10141014
{
10151015
if( pTxConfig == NULL )
10161016
{
@@ -3093,7 +3093,7 @@
30933093
* @retval Status
30943094
*/
30953095
static uint32_t ETH_Prepare_Tx_Descriptors( ETH_HandleTypeDef * heth,
3096-
const ETH_TxPacketConfigTypeDef * pTxConfig,
3096+
const ETH_TxPacketConfig * pTxConfig,
30973097
uint32_t ItMode )
30983098
{
30993099
ETH_TxDescListTypeDef * dmatxdesclist = &heth->TxDescList;

source/portable/NetworkInterface/STM32/Drivers/H5/stm32h5xx_hal_eth.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
* This parameter can be a value of @ref ETH_Tx_Packet_Inner_VLAN_Control */
163163

164164
void * pData; /*!< Specifies Application packet pointer to save */
165-
} ETH_TxPacketConfigTypeDef;
165+
} ETH_TxPacketConfig;
166166

167167
/**
168168
*
@@ -1815,10 +1815,10 @@
18151815
#endif /* HAL_ETH_USE_PTP */
18161816

18171817
HAL_StatusTypeDef HAL_ETH_Transmit( ETH_HandleTypeDef * heth,
1818-
ETH_TxPacketConfigTypeDef * pTxConfig,
1818+
ETH_TxPacketConfig * pTxConfig,
18191819
uint32_t Timeout );
18201820
HAL_StatusTypeDef HAL_ETH_Transmit_IT( ETH_HandleTypeDef * heth,
1821-
ETH_TxPacketConfigTypeDef * pTxConfig );
1821+
ETH_TxPacketConfig * pTxConfig );
18221822

18231823
HAL_StatusTypeDef HAL_ETH_WritePHYRegister( const ETH_HandleTypeDef * heth,
18241824
uint32_t PHYAddr,

source/portable/NetworkInterface/STM32/Drivers/H7/stm32h7xx_hal_eth.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
static void ETH_DMATxDescListInit( ETH_HandleTypeDef * heth );
268268
static void ETH_DMARxDescListInit( ETH_HandleTypeDef * heth );
269269
static uint32_t ETH_Prepare_Tx_Descriptors( ETH_HandleTypeDef * heth,
270-
const ETH_TxPacketConfigTypeDef * pTxConfig,
270+
const ETH_TxPacketConfig * pTxConfig,
271271
uint32_t ItMode );
272272
static void ETH_UpdateDescriptor( ETH_HandleTypeDef * heth );
273273

@@ -933,7 +933,7 @@
933933
* @retval HAL status
934934
*/
935935
HAL_StatusTypeDef HAL_ETH_Transmit( ETH_HandleTypeDef * heth,
936-
ETH_TxPacketConfigTypeDef * pTxConfig,
936+
ETH_TxPacketConfig * pTxConfig,
937937
uint32_t Timeout )
938938
{
939939
uint32_t tickstart;
@@ -1010,7 +1010,7 @@
10101010
* @retval HAL status
10111011
*/
10121012
HAL_StatusTypeDef HAL_ETH_Transmit_IT( ETH_HandleTypeDef * heth,
1013-
ETH_TxPacketConfigTypeDef * pTxConfig )
1013+
ETH_TxPacketConfig * pTxConfig )
10141014
{
10151015
if( pTxConfig == NULL )
10161016
{
@@ -3132,7 +3132,7 @@
31323132
* @retval Status
31333133
*/
31343134
static uint32_t ETH_Prepare_Tx_Descriptors( ETH_HandleTypeDef * heth,
3135-
const ETH_TxPacketConfigTypeDef * pTxConfig,
3135+
const ETH_TxPacketConfig * pTxConfig,
31363136
uint32_t ItMode )
31373137
{
31383138
ETH_TxDescListTypeDef * dmatxdesclist = &heth->TxDescList;

source/portable/NetworkInterface/STM32/Drivers/H7/stm32h7xx_hal_eth.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
* This parameter can be a value of @ref ETH_Tx_Packet_Inner_VLAN_Control */
163163

164164
void * pData; /*!< Specifies Application packet pointer to save */
165-
} ETH_TxPacketConfigTypeDef;
165+
} ETH_TxPacketConfig;
166166

167167
/**
168168
*
@@ -1842,10 +1842,10 @@
18421842
#endif /* HAL_ETH_USE_PTP */
18431843

18441844
HAL_StatusTypeDef HAL_ETH_Transmit( ETH_HandleTypeDef * heth,
1845-
ETH_TxPacketConfigTypeDef * pTxConfig,
1845+
ETH_TxPacketConfig * pTxConfig,
18461846
uint32_t Timeout );
18471847
HAL_StatusTypeDef HAL_ETH_Transmit_IT( ETH_HandleTypeDef * heth,
1848-
ETH_TxPacketConfigTypeDef * pTxConfig );
1848+
ETH_TxPacketConfig * pTxConfig );
18491849

18501850
HAL_StatusTypeDef HAL_ETH_WritePHYRegister( const ETH_HandleTypeDef * heth,
18511851
uint32_t PHYAddr,

0 commit comments

Comments
 (0)