Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 25 of 273) sorted by relevance

1234567891011

/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Fxx/
Dstm32fxx_hal_eth.h342 …#define IS_ETH_DMA_FLAG( FLAG ) ( ( ( ( FLAG ) &( uint32_t ) 0xC7FE1800 ) == 0x00 ) && ( ( FLAG…
355 …#define IS_ETH_MAC_IT( IT ) ( ( ( ( IT ) &( uint32_t ) 0xFFFFFDF1 ) == 0x00 ) && ( ( IT ) !…
364 …#define IS_ETH_DMA_IT( IT ) ( ( ( ( IT ) &( uint32_t ) 0xC7FE1800 ) == 0x00 ) && ( ( IT ) !…
379 …( ( ( ( ( IT ) &( uint32_t ) 0xFFDF3FFF ) == 0x00 ) || ( ( ( IT ) &( uint32_t ) 0xEFFDFF9F ) == 0x…
398 #define ETH_REG_WRITE_DELAY ( ( uint32_t ) 0x00000001U )
401 #define ETH_SUCCESS ( ( uint32_t ) 0U )
402 #define ETH_ERROR ( ( uint32_t ) 1U )
405 #define ETH_DMATXDESC_COLLISION_COUNTSHIFT ( ( uint32_t ) 3U )
408 #define ETH_DMATXDESC_BUFFER2_SIZESHIFT ( ( uint32_t ) 16U )
411 #define ETH_DMARXDESC_FRAME_LENGTHSHIFT ( ( uint32_t ) 16U )
[all …]
Dstm32fxx_hal_eth.c161 uint32_t err );
163 uint32_t MacAddr,
209 uint32_t tmpreg = 0uL; in HAL_ETH_Init()
210 uint32_t hclk = 60000000uL; in HAL_ETH_Init()
211 uint32_t err = ETH_SUCCESS; in HAL_ETH_Init()
236 SYSCFG->PMC |= ( uint32_t ) heth->Init.MediaInterface; in HAL_ETH_Init()
245 while( ( heth->Instance->DMABMR & ETH_DMABMR_SR ) != ( uint32_t ) RESET ) in HAL_ETH_Init()
263 tmpreg |= ( uint32_t ) ETH_MACMIIAR_CR_Div16; in HAL_ETH_Init()
268 tmpreg |= ( uint32_t ) ETH_MACMIIAR_CR_Div26; in HAL_ETH_Init()
276 tmpreg |= ( uint32_t ) ETH_MACMIIAR_CR_Div42; in HAL_ETH_Init()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Hxx/
Dstm32hxx_hal_eth.h83 __IO uint32_t DESC0; /* The buffer */
84 uint32_t Buffer_1____;
88 __IO uint32_t DESC1;
89 uint32_t Buffer_2____;
93 … __IO uint32_t DESC2; /* Buffer 1 length (0x00003FFFU) Buffer 2 Length (0x3FFF0000) */
106 __IO uint32_t DESC3; /* bit 31 is the OWN (by DMA) bit */
124 uint32_t BackupAddr0; /* used to store rx buffer 1 address */
125 uint32_t BackupAddr1; /* used to store rx buffer 2 address */
135 uint32_t ulValue;
138 uint32_t
[all …]
Dstm32hxx_hal_eth.c175 uint32_t ulState ) in set_error_state()
193 #define ETH_MACCR_MASK ( ( uint32_t ) 0xFFFB7F7CU )
194 #define ETH_MACECR_MASK ( ( uint32_t ) 0x3F077FFFU )
195 #define ETH_MACPFR_MASK ( ( uint32_t ) 0x800007FFU )
196 #define ETH_MACWTR_MASK ( ( uint32_t ) 0x0000010FU )
197 #define ETH_MACTFCR_MASK ( ( uint32_t ) 0xFFFF00F2U )
198 #define ETH_MACRFCR_MASK ( ( uint32_t ) 0x00000003U )
199 #define ETH_MTLTQOMR_MASK ( ( uint32_t ) 0x00000072U )
200 #define ETH_MTLRQOMR_MASK ( ( uint32_t ) 0x0000007BU )
202 #define ETH_DMAMR_MASK ( ( uint32_t ) 0x00007802U )
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/MPS2_AN385/ether_lan9118/
DSMM_MPS2.h51 volatile uint32_t LED; /* Offset: 0x000 (R/W) LED connections */
54 uint32_t RESERVED1[ 1 ];
55 volatile uint32_t BUTTON; /* Offset: 0x008 (R/W) Buttons */
58 uint32_t RESERVED2[ 1 ];
59 volatile uint32_t CLK1HZ; /* Offset: 0x010 (R/W) 1Hz up counter */
60 volatile uint32_t CLK100HZ; /* Offset: 0x014 (R/W) 100Hz up counter */
61 volatile uint32_t COUNTER; /* Offset: 0x018 (R/W) Cycle Up Counter */
63 uint32_t RESERVED3[ 1 ];
64 volatile uint32_t PRESCALE; /* Offset: 0x020 (R/W) Prescaler */
66 volatile uint32_t PSCNTR; /* Offset: 0x024 (R/W) 32-bit Prescale counter */
[all …]
Dsmsc9220_eth_drv.c49 volatile uint32_t rx_data_port; /**< Receive FIFO Ports (offset 0x0) */
50 uint32_t reserved1[ 0x7 ];
51 volatile uint32_t tx_data_port; /**< Transmit FIFO Ports (offset 0x20) */
52 uint32_t reserved2[ 0x7 ];
54 volatile uint32_t rx_status_port; /**< Receive FIFO status port (offset 0x40) */
55 volatile uint32_t rx_status_peek; /**< Receive FIFO status peek (offset 0x44) */
56 volatile uint32_t tx_status_port; /**< Transmit FIFO status port (offset 0x48) */
57 volatile uint32_t tx_status_peek; /**< Transmit FIFO status peek (offset 0x4C) */
59 volatile uint32_t id_revision; /**< Chip ID and Revision (offset 0x50) */
60 volatile uint32_t irq_cfg; /**< Main Interrupt Config (offset 0x54) */
[all …]
Dsmsc9220_eth_drv.h36 const uint32_t base; /*!< SMSC9220 base address */
42 uint32_t state; /*!< Indicates if the SMSC9220 driver
44 void (* wait_ms) ( uint32_t ); /*!< function pointer to system's millisec delay
46 uint32_t ongoing_packet_length; /*!< size in bytes of the packet
48 uint32_t ongoing_packet_length_sent; /*!< size in bytes of the packet
50 uint32_t current_rx_size_words; /*!< Data length in words,
207 void ( * wait_ms_function )( uint32_t ) );
220 uint32_t * data );
233 uint32_t data );
246 uint32_t * data );
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
DFreeRTOS_TCP_WIN.h52 uint32_t ulSequenceNumber; /**< The sequence number of the first byte in this packet */
61 uint32_t
68 uint32_t ulFlags;
79 uint32_t ulRxWindowLength; /**< The TCP window size of the incoming stream. */
80 uint32_t ulTxWindowLength; /**< The TCP window size of the outgoing stream. */
101 uint32_t
106 uint32_t ulFlags;
111uint32_t ulFirstSequenceNumber; /**< Logging & debug: the first…
114uint32_t ulCurrentSequenceNumber; /**< Tx/Rx: the oldest sequence…
116uint32_t ulFINSequenceNumber; /**< The sequence number which …
[all …]
DFreeRTOS_IP.h72 extern uint32_t ulApplicationGetNextSequenceNumber( uint32_t ulSourceAddress,
74 uint32_t ulDestinationAddress,
94 …ine ipTOTAL_ETHERNET_FRAME_SIZE ( ( ( uint32_t ) ipconfigNETWORK_MTU ) + ( ( uint32…
209 uint32_t
230 ( uint32_t ) \
232 ( ( ( ( uint32_t ) ( ulIn ) ) ) << 24 ) | \
233 ( ( ( ( uint32_t ) ( ulIn ) ) & 0x0000ff00U ) << 8 ) | \
234 ( ( ( ( uint32_t ) ( ulIn ) ) & 0x00ff0000U ) >> 8 ) | \
235 ( ( ( ( uint32_t ) ( ulIn ) ) ) >> 24 ) \
243 #define FreeRTOS_htonl( x ) ( ( uint32_t ) ( x ) )
[all …]
DFreeRTOS_IPv4.h74 void FreeRTOS_SetIPAddress( uint32_t ulIPAddress );
75 void FreeRTOS_SetNetmask( uint32_t ulNetmask );
76 void FreeRTOS_SetGatewayAddress( uint32_t ulGatewayAddress );
77 uint32_t FreeRTOS_GetGatewayAddress( void );
78 uint32_t FreeRTOS_GetDNSServerAddress( void );
79 uint32_t FreeRTOS_GetNetmask( void );
80 uint32_t FreeRTOS_GetIPAddress( void );
89 BaseType_t xIsIPv4Multicast( uint32_t ulIPAddress );
DFreeRTOS_DHCP.h148uint32_t ulTransactionID; /**< A 32-bit identificatio…
153uint32_t ulClientIPAddress_ciaddr; /**< Client's IP address if…
154uint32_t ulYourIPAddress_yiaddr; /**< The IP address that th…
155uint32_t ulServerIPAddress_siaddr; /**< The DHCP server addres…
156uint32_t ulRelayAgentIPAddress_giaddr; /**< Gateway IP address in …
160uint32_t ulDHCPCookie; /**< Magic cookie option. */
202 uint32_t ulTransactionId; /**< The ID used in all transactions. */
203 uint32_t ulOfferedIPAddress; /**< The IP-address offered by the DHCP server. */
204 uint32_t ulPreferredIPAddress; /**< A preferred IP address */
205 uint32_t ulDHCPServerAddress; /**< The IP-address of the DHCP server. */
[all …]
DFreeRTOS_ARP.h58 uint32_t ulIPAddress; /**< The IP address of an ARP cache entry. */
87 const uint32_t ulIPAddress );
99 const uint32_t ulIPAddress,
115 uint32_t ulARPRemoveCacheEntryByMac( const MACAddress_t * pxMACAddress );
120 BaseType_t xIsIPInARPCache( uint32_t ulAddressToLookup );
132 eARPLookupResult_t eARPGetCacheEntry( uint32_t * pulIPAddress,
140 uint32_t * pulIPAddress,
182 void FreeRTOS_OutputARPRequest( uint32_t ulIPAddress );
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/DriverSAM/
Dgmac_SAM.h187 uint32_t val;
190uint32_t b_ownership : 1, /**< User clear, GMAC sets this to 1 once it has successfully written a …
197 uint32_t val;
200 uint32_t b_len : 13, /** 0..12 Length of frame including FCS */
224 uint32_t addr;
227 uint32_t val;
230 uint32_t b_len : 14, /** 0..13 Length of buffer */
285 uint32_t ul_rx_idx;
292 uint32_t ul_wakeup_threshold;
296 const uint32_t ul_retry );
[all …]
Dgmac_SAM.c192 extern void xRxCallback( uint32_t ulStatus );
193 extern void xTxCallback( uint32_t ulStatus,
200 uint32_t ulSize ) in circ_inc32()
219 const uint32_t ul_retry ) in gmac_wait_phy()
221 volatile uint32_t ul_retry_count = 0; in gmac_wait_phy()
222 const uint32_t xPHYPollDelay = pdMS_TO_TICKS( 1ul ); in gmac_wait_phy()
256 uint32_t ul_index; in gmac_reset_tx_mem()
257 uint32_t ul_address; in gmac_reset_tx_mem()
265 uint32_t ulAddr = gs_tx_desc[ ul_index ].addr; in gmac_reset_tx_mem()
280 ul_address = ( uint32_t ) 0u; in gmac_reset_tx_mem()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_Tiny_TCP.c74 static portINLINE BaseType_t xSequenceGreaterThanOrEqual( uint32_t a,
75 uint32_t b );
86 static portINLINE BaseType_t xSequenceGreaterThanOrEqual( uint32_t a, in xSequenceGreaterThanOrEqual()
87 uint32_t b ) in xSequenceGreaterThanOrEqual()
113 static portINLINE uint32_t ulTimerGetAge( const TCPTimer_t * pxTimer );
122 static portINLINE uint32_t ulTimerGetAge( const TCPTimer_t * pxTimer ) in ulTimerGetAge()
147 uint32_t ulSequenceNumber, in lTCPWindowRxCheck()
148 uint32_t ulLength, in lTCPWindowRxCheck()
149 uint32_t ulSpace, in lTCPWindowRxCheck()
150 uint32_t * pulSkipCount ) in lTCPWindowRxCheck()
[all …]
DFreeRTOS_TCP_WIN.c120 uint32_t ulSequenceNumber );
130 uint32_t ulSequenceNumber,
167 uint32_t ulSequenceNumber,
168 uint32_t ulLength );
187 uint32_t ulWindowSize );
195 static uint32_t prvTCPWindowTxCheckAck( TCPWindow_t * pxWindow,
196 uint32_t ulFirst,
197 uint32_t ulLast );
205 static uint32_t prvTCPWindowFastRetransmit( TCPWindow_t * pxWindow,
206 uint32_t ulFirst );
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ksz8851snl/
Dksz8851snl.h54 void configure_intn( void ( * p_handler )( uint32_t, uint32_t ) );
60 uint32_t len );
62 uint32_t ulActualLength,
63 uint32_t ulFIFOLength );
64 void ksz8851_fifo_dummy( uint32_t len );
68 uint32_t ksz8851snl_init( void );
69 uint32_t ksz8851snl_reinit( void );
71 uint32_t ksz8851snl_reset_rx( void );
72 uint32_t ksz8851snl_reset_tx( void );
Dksz8851snl.c117 temp &= ~( uint32_t ) bits_to_clr; in ksz8851_reg_clrbits()
124 void configure_intn( void ( * p_handler )( uint32_t, uint32_t ) ) in configure_intn() argument
164 uint32_t ulStatus; in ksz8851_reg_read()
191 g_pdc_spi_tx_packet.ul_addr = ( uint32_t ) cmdBuf.uc; in ksz8851_reg_read()
193 g_pdc_spi_rx_packet.ul_addr = ( uint32_t ) tmpbuf; in ksz8851_reg_read()
244 uint32_t ulStatus; in ksz8851_reg_write()
272 g_pdc_spi_tx_packet.ul_addr = ( uint32_t ) cmdBuf.uc; in ksz8851_reg_write()
274 g_pdc_spi_rx_packet.ul_addr = ( uint32_t ) tmpbuf; in ksz8851_reg_write()
309 volatile uint32_t rc; in spi_clear_ovres()
323 uint32_t len ) in ksz8851_fifo_read()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_Tiny_TCP/
DFreeRTOS_Tiny_TCP_utest.c73 uint32_t ulSequenceNumber = 23; in test_lTCPWindowRxCheck_diff_seq_numbers()
74 uint32_t ulLength = 100; in test_lTCPWindowRxCheck_diff_seq_numbers()
75 uint32_t ulSpace = 200; in test_lTCPWindowRxCheck_diff_seq_numbers()
77 uint32_t ulSkipCount; in test_lTCPWindowRxCheck_diff_seq_numbers()
91 uint32_t ulSequenceNumber = 23; in test_lTCPWindowRxCheck_space_lt_length()
92 uint32_t ulLength = 300; in test_lTCPWindowRxCheck_space_lt_length()
93 uint32_t ulSpace = 200; in test_lTCPWindowRxCheck_space_lt_length()
95 uint32_t ulSkipCount; in test_lTCPWindowRxCheck_space_lt_length()
109 uint32_t ulSequenceNumber = 23; in test_lTCPWindowRxCheck_seq_num_eq()
110 uint32_t ulLength = 300; in test_lTCPWindowRxCheck_seq_num_eq()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_TCP_WIN/
DFreeRTOS_TCP_WIN_utest.c245 uint32_t ulRxWindowLength = 0; in test_vTCPWindowCreate_success()
246 uint32_t ulTxWindowLength = 0; in test_vTCPWindowCreate_success()
247 uint32_t ulAckNumber = 0; in test_vTCPWindowCreate_success()
248 uint32_t ulSequenceNumber = 0; in test_vTCPWindowCreate_success()
249 uint32_t ulMSS = 0; in test_vTCPWindowCreate_success()
282 uint32_t ulRxWindowLength = 0; in test_vTCPWindowCreate_tcp_segment_null()
283 uint32_t ulTxWindowLength = 0; in test_vTCPWindowCreate_tcp_segment_null()
284 uint32_t ulAckNumber = 0; in test_vTCPWindowCreate_tcp_segment_null()
285 uint32_t ulSequenceNumber = 0; in test_vTCPWindowCreate_tcp_segment_null()
286 uint32_t ulMSS = 0; in test_vTCPWindowCreate_tcp_segment_null()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ATSAM4E/instance/
Dgmac.h160 uint32_t val;
163uint32_t b_ownership : 1, /**< User clear, GMAC sets this to 1 once it has successfully written a …
170 uint32_t val;
173 uint32_t len : 13, /** 0..12 Length of frame including FCS */
197 uint32_t addr;
200 uint32_t val;
203 uint32_t len : 14, /** 0..13 Length of buffer */
236 typedef void (* gmac_dev_tx_cb_t) ( uint32_t ul_status,
239 typedef void (* gmac_dev_rx_cb_t) ( uint32_t ul_status );
276 uint32_t ul_rx_list_size;
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ATSAM4E/
Dgmac.h159 uint32_t val;
162uint32_t b_ownership : 1, /**< User clear, GMAC sets this to 1 once it has successfully written a …
169 uint32_t val;
172 uint32_t len : 13, /** 0..12 Length of frame including FCS */
196 uint32_t addr;
199 uint32_t val;
202 uint32_t len : 14, /** 0..13 Length of buffer */
235 typedef void (* gmac_dev_tx_cb_t) ( uint32_t ul_status );
272 uint32_t ul_rx_list_size;
274 uint32_t ul_rx_idx;
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/Common/
DphyHandling.c148 static uint32_t xPhyReset( EthernetPhy_t * pxPhyObject,
149 uint32_t ulPhyMask );
151 static BaseType_t xHas_1F_PHYSPCS( uint32_t ulPhyID ) in xHas_1F_PHYSPCS()
185 static BaseType_t xHas_19_PHYCR( uint32_t ulPhyID ) in xHas_19_PHYCR()
228 uint32_t ulLowerID = 0U; in xPhyDiscover()
235 uint32_t ulUpperID; in xPhyDiscover()
236 uint32_t ulPhyID; in xPhyDiscover()
239 ulPhyID = ( ( ( uint32_t ) ulUpperID ) << 16 ) | ( ulLowerID & 0xFFF0U ); in xPhyDiscover()
264 static uint32_t xPhyReset( EthernetPhy_t * pxPhyObject, in xPhyReset()
265 uint32_t ulPhyMask ) in xPhyReset()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ThirdParty/MSP432/
DNetworkMiddleware.c53 extern uint32_t obtain_rand32();
57 static uint32_t xDelay;
112 uint32_t cnt; in prvNetworkResetTask()
137 const uint32_t waitTime ) in publicPreventNetworkReset()
162 BaseType_t xApplicationGetRandomNumber( uint32_t * pulNumber ) in xApplicationGetRandomNumber()
165 uint32_t num = obtain_rand32(); in xApplicationGetRandomNumber()
178 uint32_t ulApplicationGetNextSequenceNumber( uint32_t ulSourceAddress, in ulApplicationGetNextSequenceNumber()
180 uint32_t ulDestinationAddress, in ulApplicationGetNextSequenceNumber()
183 uint32_t pulNumber = 0; in ulApplicationGetNextSequenceNumber()
194 uint32_t num = obtain_rand32(); in uxRand()
[all …]
/FreeRTOS-Plus-TCP-v4.0.0/test/build-combination/Common/
Dmain.c202 const uint32_t ulMSToSleep = 1; in vApplicationIdleHook()
235 const uint32_t ulMultiplier = 0x015a4e35UL, ulIncrement = 1UL; in uxRand()
243 BaseType_t xApplicationGetRandomNumber( uint32_t * pulNumber ) in xApplicationGetRandomNumber()
245 *pulNumber = ( uint32_t ) uxRand(); in xApplicationGetRandomNumber()
254 uint32_t * pulIdleTaskStackSize ) in vApplicationGetIdleTaskMemory()
279 extern uint32_t ulApplicationGetNextSequenceNumber( uint32_t ulSourceAddress, in ulApplicationGetNextSequenceNumber()
281 uint32_t ulDestinationAddress, in ulApplicationGetNextSequenceNumber()
289 return ( uint32_t ) uxRand(); in ulApplicationGetNextSequenceNumber()
294 uint32_t * pulTimerTaskStackSize ) in vApplicationGetTimerTaskMemory()
327 uint32_t ulIPAddress ) in xApplicationDHCPHook()
[all …]

1234567891011