This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Extension to Cyg_Watchdog?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]