SAM function SAM-Worker-fb-policy-get()
From SoOS
Contents |
[edit] Name
SAM_Worker_fb_policy_get - Get the flash back policy
[edit] Synopsis
#include <sam.h> SAM_Worker_fb_policy_t SAM_Worker_fb_policy_get(SAM_t sam, SAM_Workerid_t wid);
[edit] Description
The SAM_Worker_fb_policy_get() function returns the flash back policy of the worker thread wid.
Related constants:
- SAM_FBPOLICY_DEFAULT
The same as SAM_FBPOLICY_RETRY. - SAM_FBPOLICY_RETRY
The worker thread is restarted automatically after the flash back after the flash back retry delay. - SAM_FBPOLICY_HALT
The worker thread is halted until it is manually restarted after a flash back.
[edit] Return value
See DESCRIPTION above.
[edit] Errors
None, assumes correct input parameters.
[edit] Examples
None.