hal_exit
NAME
hal_exit — terminate a component
SYNTAX
int hal_exit ( int comp_id)
ARGUMENTS
comp_id
A HAL component identifier returned by an earlier call to hal_init.
DESCRIPTION
hal_exit terminates a component, and unlinks and removes all
its pins and parameters.
It also removes any thread functions currently added to a thread.
REALTIME CONSIDERATIONS
Call only from within user or init/cleanup code, not from realtime tasks.
RETURN VALUE
Returns a HAL status code.