# csl_mpuGetBaseAddress.c File Reference

The file contains routines which are MPU Device specific and need to be modified for each new device which has the MPU IP Module. More...

`#include <ti/csl/soc.h>`
`#include <ti/csl/csl_mpu.h>`

## Functions
CSL_MpuHandle | CSL_MPU_Open (Int32 instNum)

## Detailed Description

The file contains routines which are MPU Device specific and need to be modified for each new device which has the MPU IP Module.

  ============================================================================
  (C) Copyright 2011, Texas Instruments, Inc.
  Use of this software is controlled by the terms and conditions found
  in the license agreement under which this software has been supplied. ===========================================================================

## Function Documentation

CSL_MpuHandle CSL_MPU_Open | ( | Int32 | instNum | ) |

============================================================================
CSL_MPU_Open

Description
This API opens the MPU instance. This should always be the first call to the CSL MPU Functional layer. The handle which is returned from this call should be passed in all subsequent CSL API's.

Return Value
CSL_MpuHandle - Handle to the MPU Module
0 - Error.

Pre Condition
None

Post Condition
None

Affects
None.

Example

            CSL_MpuHandle   hMpu;
            ...
            hMpu = CSL_MPU_Open (0);    // Opens MPU Instance 0
            ...

===========================================================================

Copyright 2012, Texas Instruments Incorporated