Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PhDetach()
Free all resources consumed by a Photon channel
Synopsis:
int PhDetach( struct _Ph_ctrl *Ph );
Library:
ph
Description:
This function frees all resources consumed by the Photon channel Ph. If Ph is the current channel, no current channel will exist after this function is called.
Ph is a pointer to a Photon control structure returned by a previous call to PhAttach().
Returns:
- 0
- Successful completion.
- -1
- An error occurred.
Examples:
See PhAttach().
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)