CAMERA_SwitchOffLED*

Syntax

#include <twl/camera.h>

CAMERAResult CAMERA_SwitchOffLED(void);
CAMERAResult CAMERA_SwitchOffLEDAsync(CAMERACallback callback, void *arg);

Arguments

callback Function that is called when asynchronous processing has completed.
arg Arguments when the callback function is invoked.

Return Values

Returns CAMERA_RESULT_SUCCESS if configuration was successful.

Description

Turns off the outer camera LED for the duration of a single blink.

The outer camera LED is configured to be lit when the outer camera is active. By calling this function from that state, the outer camera LED will be turned off for the duration of a single blink, as configured by the CAMERA_SetLED function. Note that this will consequently fail if the outer camera is not active.

This function has the same behavior as running CAMERA_SetLED(TRUE) and CAMERA_SetLED(FALSE) in succession.

See Also

CAMERA_SetLED*

Revision History

2008/09/09 Initial version.


CONFIDENTIAL