Home
last modified time | relevance | path

Searched refs:fraction (Results 1 – 3 of 3) sorted by relevance

/NetX-Duo-v6.3.0/addons/sntp/
Dnxd_sntp_client.h516 …ULONG fraction; /* Fraction of a second, in th… member
676 UINT nx_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction, …
677 …_local_time_extended(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction, CHAR *buffer, UI…
685 UINT nx_sntp_client_set_local_time(NX_SNTP_CLIENT *client_ptr, ULONG seconds, ULONG fraction);
687 UINT nx_sntp_client_utility_msecs_to_fraction(ULONG msecs, ULONG *fraction);
688 UINT nx_sntp_client_utility_usecs_to_fraction(ULONG usecs, ULONG *fraction);
689 UINT nx_sntp_client_utility_fraction_to_usecs(ULONG fraction, ULONG *usecs);
709 UINT _nx_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction,…
710 UINT _nxe_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction
711 …_local_time_extended(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction, CHAR *buffer, UI…
[all …]
Dnxd_sntp_client.c693 time_message_ptr -> transmit_time.fraction = time_message_ptr -> transmit_time_stamp[1]; in _nx_sntp_client_create_time_request_packet()
697 …G*)(packet_ptr -> nx_packet_append_ptr + 4)) = (ULONG)(time_message_ptr -> transmit_time.fraction); in _nx_sntp_client_create_time_request_packet()
2402 local_time.fraction = client_ptr -> nx_sntp_client_local_ntp_time.fraction; in _nx_sntp_client_send_unicast_request()
2861 …time_message_ptr -> reference_clock_update_time.fraction = time_message_ptr -> reference_clock_upd… in _nx_sntp_client_extract_time_message_from_packet()
2880 time_message_ptr -> originate_time.fraction = time_message_ptr -> originate_time_stamp[1]; in _nx_sntp_client_extract_time_message_from_packet()
2899 time_message_ptr -> receive_time.fraction = time_message_ptr -> receive_time_stamp[1]; in _nx_sntp_client_extract_time_message_from_packet()
2918 time_message_ptr -> transmit_time.fraction = time_message_ptr -> transmit_time_stamp[1]; in _nx_sntp_client_extract_time_message_from_packet()
3877 local_time.fraction = client_ptr -> nx_sntp_client_local_ntp_time.fraction; in _nx_sntp_client_process_time_data()
4036 UINT _nxe_sntp_client_get_local_time(NX_SNTP_CLIENT *client_ptr, ULONG *seconds, ULONG *fraction, … in _nxe_sntp_client_get_local_time() argument
4043 if ((client_ptr == NX_NULL) || (seconds == NX_NULL) || (fraction == NX_NULL)) in _nxe_sntp_client_get_local_time()
[all …]
/NetX-Duo-v6.3.0/samples/
Ddemo_netxduo_sntp_client.c216 ULONG seconds, milliseconds, microseconds, fraction; in demo_client_thread_entry() local
377 …status = nx_sntp_client_get_local_time_extended(&demo_sntp_client, &seconds, &fraction, NX_NULL, 0… in demo_client_thread_entry()
380 nx_sntp_client_utility_fraction_to_usecs(fraction, &microseconds); in demo_client_thread_entry()