Pico Led Controller 1.0.3
A project to control LEDs using Raspberry Pi Pico W
NTP_T_ Struct Reference

NTP struct. More...

#include <ntp.h>

Data Fields

ip_addr_t ntp_server_address
 
bool dns_request_sent
 
struct udp_pcb * ntp_pcb
 
absolute_time_t ntp_test_time
 
alarm_id_t ntp_resend_alarm
 

Detailed Description

NTP struct.

Struct for the NTP state.

Definition at line 34 of file ntp.h.

Field Documentation

◆ dns_request_sent

bool NTP_T_::dns_request_sent

Definition at line 37 of file ntp.h.

Referenced by ntp_result(), and ntp_update_time().

◆ ntp_pcb

struct udp_pcb* NTP_T_::ntp_pcb

Definition at line 38 of file ntp.h.

Referenced by ntp_init(), and ntp_request().

◆ ntp_resend_alarm

alarm_id_t NTP_T_::ntp_resend_alarm

Definition at line 40 of file ntp.h.

Referenced by ntp_result(), and ntp_update_time().

◆ ntp_server_address

ip_addr_t NTP_T_::ntp_server_address

Definition at line 36 of file ntp.h.

Referenced by ntp_dns_found(), ntp_recv(), ntp_request(), and ntp_update_time().

◆ ntp_test_time

absolute_time_t NTP_T_::ntp_test_time

Definition at line 39 of file ntp.h.

Referenced by ntp_result(), and ntp_update_time().


The documentation for this struct was generated from the following file: