[ECOS] Extension to Cyg_Watchdog?

Martin Buck martin.buck@ascom.ch
Fri Oct 26 08:41:00 GMT 2001


Hi folks,

I'm thinking about extending the Cyg_Watchdog class a bit to allow
configuration of the watchdog timeout. I'd add a hardware-dependent
method "set_resolution(cyg_uint64 resolution)" that allows you to change
the current resolution/timeout (if the hardware supports that, that is).
I'd also add "get_min_resolution()" and "get_max_resolution()" that
would allow you to query the range of resolutions supported by the
current hardware (they'd return 0 if the resolution can't be changed).

Any comments/suggestions?

Martin



More information about the Ecos-discuss mailing list