Home
last modified time | relevance | path

Searched refs:Instance (Results 1 – 6 of 6) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Hxx/
HDstm32hxx_hal_eth.c369 SET_BIT( heth->Instance->DMAMR, ETH_DMAMR_SWR ); in HAL_ETH_Init()
375 while( READ_BIT( heth->Instance->DMAMR, ETH_DMAMR_SWR ) > 0U ) in HAL_ETH_Init()
392 …WRITE_REG( heth->Instance->MAC1USTCR, ( ( ( uint32_t ) HAL_RCC_GetHCLKFreq() / ETH_MAC_US_TICK ) -… in HAL_ETH_Init()
398 MODIFY_REG( heth->Instance->DMACCR, ETH_DMACCR_DSL, ETH_DMACCR_DSL_64BIT ); in HAL_ETH_Init()
412 … MODIFY_REG( heth->Instance->DMACRCR, ETH_DMACRCR_RBSZ, ( ( heth->Init.RxBuffLen ) << 1 ) ); in HAL_ETH_Init()
423 …heth->Instance->MACA0HR = ( ( ( uint32_t ) ( heth->Init.MACAddr[ 5 ] ) << 8 ) | ( uint32_t ) heth-… in HAL_ETH_Init()
425 …heth->Instance->MACA0LR = ( ( ( uint32_t ) ( heth->Init.MACAddr[ 3 ] ) << 24 ) | ( ( uint32_t ) ( … in HAL_ETH_Init()
438 heth->Instance->MMCRIMR = in HAL_ETH_Init()
445 heth->Instance->MMCTIMR = in HAL_ETH_Init()
829 SET_BIT( heth->Instance->MACCR, ETH_MACCR_TE ); in HAL_ETH_Start()
[all …]
HDstm32hxx_hal_eth.h512 ETH_TypeDef * Instance; /*!< Register base address */ member
1536 …ETH_DMA_ENABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->DMACIER |= ( __I…
1545 …ETH_DMA_DISABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->DMACIER &= ~( __…
1553 …H_DMA_GET_IT_SOURCE( __HANDLE__, __INTERRUPT__ ) ( ( ( __HANDLE__ )->Instance->DMACIER & ( __IN…
1561 …H_DMA_GET_IT( __HANDLE__, __INTERRUPT__ ) ( ( ( __HANDLE__ )->Instance->DMACSR & ( __INT…
1569 …ETH_DMA_CLEAR_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->DMACSR = ( __INT…
1577 …H_DMA_GET_FLAG( __HANDLE__, __FLAG__ ) ( ( ( __HANDLE__ )->Instance->DMACSR & ( __FLA…
1585 …ETH_DMA_CLEAR_FLAG( __HANDLE__, __FLAG__ ) ( ( __HANDLE__ )->Instance->DMACSR = ( __FLA…
1594 …ETH_MAC_ENABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->MACIER |= ( __IN…
1603 …ETH_MAC_DISABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->MACIER &= ~( __I…
[all …]
HDNetworkInterface.c213 uint32_t ulETH_MAC_ADDR_HBASE = ( uint32_t ) &( heth->Instance->MACA0HR ); in prvMACAddressConfig()
214 uint32_t ulETH_MAC_ADDR_LBASE = ( uint32_t ) &( heth->Instance->MACA0LR ); in prvMACAddressConfig()
281 xEthHandle.Instance = ETH; in xSTM32H_NetworkInterfaceInitialise()
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Fxx/
HDstm32fxx_hal_eth.c242 heth->Instance->DMABMR |= ETH_DMABMR_SR | ETH_DMABMR_EDE; in HAL_ETH_Init()
245 while( ( heth->Instance->DMABMR & ETH_DMABMR_SR ) != ( uint32_t ) RESET ) in HAL_ETH_Init()
252 tmpreg = heth->Instance->MACMIIAR; in HAL_ETH_Init()
323 heth->Instance->MACMIIAR = ( uint32_t ) tmpreg; in HAL_ETH_Init()
340 heth->Instance->MACIMR = ETH_MACIMR_TSTIM | ETH_MACIMR_PMTIM; in HAL_ETH_Init()
341 heth->Instance->MMCRIMR = ETH_MMCRIMR_RGUFM | ETH_MMCRIMR_RFAEM | ETH_MMCRIMR_RFCEM; in HAL_ETH_Init()
342 heth->Instance->MMCTIMR = ETH_MMCTIMR_TGFM | ETH_MMCTIMR_TGFMSCM | ETH_MMCTIMR_TGFSCM; in HAL_ETH_Init()
437 dmasr = heth->Instance->DMASR & ETH_DMA_ALL_INTS; in HAL_ETH_IRQHandler()
438 heth->Instance->DMASR = dmasr; in HAL_ETH_IRQHandler()
540 tmpreg = heth->Instance->MACMIIAR; in HAL_ETH_ReadPHYRegister()
[all …]
HDstm32fxx_hal_eth.h740 ETH_TypeDef * Instance; /*!< Register base address */ member
1928 …ABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->MACIMR |= ( __IN…
1940 …SABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->MACIMR &= ~( __I…
1947 …TE_PAUSE_CONTROL_FRAME( __HANDLE__ ) ( ( __HANDLE__ )->Instance->MACFCR |= ETH_MA…
1954 …_CONTROL_BUSY_STATUS( __HANDLE__ ) ( ( ( __HANDLE__ )->Instance->MACFCR & ETH_MAC…
1961 …RESSURE_ACTIVATION_ENABLE( __HANDLE__ ) ( ( __HANDLE__ )->Instance->MACFCR |= ETH_MA…
1968 …RESSURE_ACTIVATION_DISABLE( __HANDLE__ ) ( ( __HANDLE__ )->Instance->MACFCR &= ~ETH_M…
1982 …FLAG( __HANDLE__, __FLAG__ ) ( ( ( __HANDLE__ )->Instance->MACSR & ( __FLAG…
1991 …ABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->DMAIER |= ( __IN…
2000 …SABLE_IT( __HANDLE__, __INTERRUPT__ ) ( ( __HANDLE__ )->Instance->DMAIER &= ~( __I…
[all …]
HDNetworkInterface.c476 xETH.Instance = ETH; in xSTM32F_NetworkInterfaceInitialise()
633 xETH.Instance->DMAIER |= ETH_DMA_ALL_INTS; in xSTM32F_NetworkInterfaceInitialise()
696 xETH.Instance->DMATDLAR = ( uint32_t ) DMATxDscrTab; in prvDMATxDescListInit()
758 xETH.Instance->DMARDLAR = ( uint32_t ) DMARxDscrTab; in prvDMARxDescListInit()
925 xETH.Instance->DMATPDR = 0; in xSTM32F_NetworkInterfaceOutput()
1213 if( ( xETH.Instance->DMASR & ETH_DMASR_RBUS ) != 0 ) in prvNetworkInterfaceInput()
1216 xETH.Instance->DMASR = ETH_DMASR_RBUS; in prvNetworkInterfaceInput()
1219 xETH.Instance->DMARPDR = 0; in prvNetworkInterfaceInput()
1367 xETH.Instance->MACFFR |= ETH_MACFFR_PAM; in prvEthernetUpdateConfig()