# SCFG_SetCameraAccessible

## Syntax

      #include <twl/scfg.h>

      static inline void SCFG_SetCameraAccessible( BOOL sw );

## Arguments

sw | Controls access to the camera I/F block. When `TRUE`, access is permitted. When `FALSE`, access is not permitted.

## Return Values

None.

## Description

Configures access permissions from the AHB to the camera interface block.

If sw is set to `FALSE`, access is not permitted to the camera interface block. It is set to be accessible by default. Even if access is not permitted, only viewing from the bus is prevented; values that were previously configured will be valid.

For safety, change the flag's value when the camera interface block is not being accessed.

Note: Use this function when running on TWL hardware.

Because NITRO hardware does not include an SCFG block, this function is not expected to be called on NITRO hardware.

## See Also

SCFG Overview
`SCFG_IsCameraAccessible`

## Revision History

2008/04/07 Added information on default values.
2007/10/03 Initial version.

CONFIDENTIAL