Functions | |
| void | uhrzeit_anpassung (void) |
| void | NTP_init (void) |
| void | sendNTP (ip_addr_t *ipaddr) |
| void | NTP_Data_Conversion (void) |
| void | RecvNTPCallBack (void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) |
| void | TCP_init (void) |
Variables | |
| const int | timezone = 1 |
| UART_HandleTypeDef | huart3 |
| int | NTPsendreqs |
| int | NTPrecvs |
| static struct tm | zeit |
| char | data [48] |
| int | data_arrived = 0 |
| int | travel_ms |
| const uint8_t | EST [] |
| volatile uint64_t | MS_TIME |
| volatile uint64_t | MS_TIMER1 |
| int | ntpsyncd |
| volatile int | XTAL_Sec |
| volatile int | XTAL_Min |
| volatile int | XTAL_Hour |
| volatile int | XTAL_Day |
| volatile int | XTAL_Month |
| volatile int | XTAL_Year |
| volatile int | XTAL_Weekday |
| volatile int | Leap_year |
| volatile int | XTAL_MESZ |
| volatile int | First_XTAL_Min |
| volatile int | First_XTAL_Hour |
| volatile int | XTAL_MSEC |
| struct pbuf * | p |
| struct udp_pcb * | upcb1 |
References data, data_arrived, EST, First_XTAL_Hour, First_XTAL_Min, NTPrecvs, ntpsyncd, offtime(), timezone, travel_ms, uhrzeit_anpassung(), XTAL_Day, XTAL_Hour, XTAL_MESZ, XTAL_Min, XTAL_Month, XTAL_MSEC, XTAL_Sec, XTAL_Weekday, XTAL_Year, and zeit.
References err, RecvNTPCallBack(), and upcb1.
| void RecvNTPCallBack | ( | void * | arg, |
| struct udp_pcb * | upcb, | ||
| struct pbuf * | p, | ||
| const ip_addr_t * | addr, | ||
| u16_t | port | ||
| ) |
References data, data_arrived, MS_TIMER1, NTP_Data_Conversion(), p, travel_ms, and XTAL_MSEC.
| void sendNTP | ( | ip_addr_t * | ipaddr | ) |
References data_arrived, err, ipaddr, MS_TIMER1, p, RecvNTPCallBack(), and upcb1.
| char data[48] |
| int data_arrived = 0 |
| const uint8_t EST |
| volatile int First_XTAL_Hour |
| volatile int First_XTAL_Min |
| UART_HandleTypeDef huart3 |
| volatile int Leap_year |
| volatile uint64_t MS_TIME |
| volatile uint64_t MS_TIMER1 |
Detailed description after the member
| int NTPrecvs |
| int NTPsendreqs |
| int ntpsyncd |
| struct pbuf* p |
| const int timezone = 1 |
| int travel_ms |
| struct udp_pcb* upcb1 |
| volatile int XTAL_Day |
| volatile int XTAL_Hour |
| volatile int XTAL_MESZ |
| volatile int XTAL_Min |
| volatile int XTAL_Month |
| volatile int XTAL_MSEC |
| volatile int XTAL_Sec |
| volatile int XTAL_Weekday |
| volatile int XTAL_Year |
|
static |