# CAMERAIntrCallback

## Definition

  `#include <twl/camera.h>`

      typedef void (*CAMERAIntrCallback)(CAMERAResult result);

## Elements

result | The result of camera processing in the callback function's caller.

## Description

This is the callback function type invoked when various camera interrupts occur. A value of `CAMERA_RESULT_SUCCESS` is passed unconditionally to result for the callbacks invoked during a VSync or buffer error interrupt. If restart processing completes successfully, a value of `CAMERA_RESULT_SUCCESS` is passed to result for the callback that is invoked. If restart processing fails, a value of `CAMERA_RESULT_FATAL_ERROR` is passed.

## Revision History

2008/06/26 Initial version.

CONFIDENTIAL