| /NetX-Duo-v6.2.1/test/regression/ptp_test/ |
| D | netx_ptp_client_api_test.c | 17 static NX_PTP_CLIENT ptp_client; variable 216 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 222 status = nx_ptp_client_time_set(&ptp_client, &ts_zero); in ntest_0_entry() 226 status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry() 236 status = nx_ptp_client_time_set(&ptp_client, &ts_zero); in ntest_0_entry() 247 status = nx_ptp_client_stop(&ptp_client); in ntest_0_entry() 250 status = nx_ptp_client_delete(&ptp_client); in ntest_0_entry()
|
| D | netx_ptp_client_calibrate_test.c | 17 static NX_PTP_CLIENT ptp_client; variable 274 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 283 status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry() 305 status = nx_ptp_client_stop(&ptp_client); in ntest_0_entry() 337 clock_callback(&ptp_client, NX_PTP_CLIENT_CLOCK_SET, in ntest_1_entry()
|
| D | netx_ptp_client_master_selection_test.c | 21 static NX_PTP_CLIENT ptp_client; variable 190 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 206 … status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry() 248 status = nx_ptp_client_stop(&ptp_client); in ntest_0_entry()
|
| D | netx_ptp_client_announce_timeout_test.c | 17 static NX_PTP_CLIENT ptp_client; variable 200 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 206 status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry()
|
| D | netx_ptp_client_basic_test.c | 17 static NX_PTP_CLIENT ptp_client; variable 188 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 194 status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry()
|
| D | netx_ptp_client_ipv6_test.c | 19 static NX_PTP_CLIENT ptp_client; variable 201 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 207 status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry()
|
| D | netx_ptp_client_two_steps_off_test.c | 17 static NX_PTP_CLIENT ptp_client; variable 188 status = nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in ntest_0_entry() 194 status = nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, 0, ptp_event_callback, NX_NULL); in ntest_0_entry()
|
| /NetX-Duo-v6.2.1/samples/ |
| D | demo_netx_duo_ptp_client.c | 29 static NX_PTP_CLIENT ptp_client; variable 186 nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in thread_0_entry() 192 nx_ptp_client_master_enable(&ptp_client, NX_PTP_CLIENT_ROLE_SLAVE_AND_MASTER, in thread_0_entry() 200 nx_ptp_client_start(&ptp_client, NX_NULL, 0, 0, port_specific, ptp_event_callback, NX_NULL); in thread_0_entry() 206 nx_ptp_client_time_get(&ptp_client, &tm); in thread_0_entry()
|