Crate w5500_sntp

Source
Expand description

SNTP client for the Wiznet W5500 SPI internet offload chip.

§Limitations

  • No support for message digests

§Feature Flags

All features are disabled by default.

  • eh0: Passthrough to w5500-hl.
  • eh1: Passthrough to w5500-hl.
  • defmt: Enable logging with defmt. Also a passthrough to w5500-hl.
  • log: Enable logging with log.
  • chrono: Enable conversion to chrono::naive::NaiveDateTime.
  • time: Enable conversion to time::PrimitiveDateTime.
  • num-rational: Enable conversion to num_rational::Ratio.

§Reference Documentation

Re-exports§

pub use w5500_hl as hl;
pub use w5500_hl::ll;
pub use chrono;chrono
pub use time;time

Structs§

Client
W5500 SNTP client.
FixedPoint
A fixed point value.
Reply
Reply from the SNTP server.
Timestamp
SNTP timestamp format.
TimestampError
Returned upon a failed conversion to or from Timestamp.

Enums§

LeapIndicator
Leap indicator.
Stratum
Stratum, device’s distance to the reference clock.

Constants§

DST_PORT
IANA SNTP destination port.