TI Autonomous Driving Algorithms (TIADALG) Library User Guide
cache.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>

Go to the source code of this file.

Macros

#define Cache_EMIFA_CFG   0x1e00000
 
#define Cache_EMIFA_BASE   0x2000000
 
#define Cache_EMIFA_LENGTH   0x8000000
 
#define Cache_EMIFB_CFG   0x20000000
 
#define Cache_EMIFB_BASE   0x80000000
 
#define Cache_EMIFB_LENGTH   0x10000000
 
#define Cache_EMIFC_CFG   0x1e00000
 
#define Cache_EMIFC_BASE   0x42000000
 
#define Cache_EMIFC_LENGTH   0x8000000
 
#define L2CFG   (volatile unsigned int *)0x01840000
 
#define L1PCFG   (volatile unsigned int *)0x01840020
 
#define L1PCC   (volatile unsigned int *)0x01840024
 
#define L1DCFG   (volatile unsigned int *)0x01840040
 
#define L1DCC   (volatile unsigned int *)0x01840044
 
#define L2WBAR   (volatile unsigned int *)0x01844000
 
#define L2WWC   (volatile unsigned int *)0x01844004
 
#define L2WIBAR   (volatile unsigned int *)0x01844010
 
#define L2IBAR   (volatile unsigned int *)0x01844018
 
#define L2WBINV   (volatile unsigned int *)0x01845004
 
#define L1DWBINV   (volatile unsigned int *)0x01845044
 
#define L1DINV   (volatile unsigned int *)0x01845048
 
#define L2INV   (volatile unsigned int *)0x01845008
 
#define L1DWb   (volatile unsigned int *)0x01845040
 
#define L2Wb   (volatile unsigned int *)0x01845000
 
#define L1DWWC   (volatile unsigned int *)0x0184404C
 
#define MAXWC   0xFF00 /* Max word count per cache operations */
 

Functions

void Cache_inv (uint8_t *blockPtr, unsigned int byteCnt, bool wait)
 
void Cache_wb (uint8_t *blockPtr, unsigned int byteCnt, bool wait)
 
void Cache_wbInv (uint8_t *blockPtr, unsigned int byteCnt, bool wait)
 
void Cache_WbInvAll ()
 
void Cache_InvAll ()
 
void Cache_WbAll ()
 

Macro Definition Documentation

◆ Cache_EMIFA_CFG

#define Cache_EMIFA_CFG   0x1e00000

◆ Cache_EMIFA_BASE

#define Cache_EMIFA_BASE   0x2000000

◆ Cache_EMIFA_LENGTH

#define Cache_EMIFA_LENGTH   0x8000000

◆ Cache_EMIFB_CFG

#define Cache_EMIFB_CFG   0x20000000

◆ Cache_EMIFB_BASE

#define Cache_EMIFB_BASE   0x80000000

◆ Cache_EMIFB_LENGTH

#define Cache_EMIFB_LENGTH   0x10000000

◆ Cache_EMIFC_CFG

#define Cache_EMIFC_CFG   0x1e00000

◆ Cache_EMIFC_BASE

#define Cache_EMIFC_BASE   0x42000000

◆ Cache_EMIFC_LENGTH

#define Cache_EMIFC_LENGTH   0x8000000

◆ L2CFG

#define L2CFG   (volatile unsigned int *)0x01840000

◆ L1PCFG

#define L1PCFG   (volatile unsigned int *)0x01840020

◆ L1PCC

#define L1PCC   (volatile unsigned int *)0x01840024

◆ L1DCFG

#define L1DCFG   (volatile unsigned int *)0x01840040

◆ L1DCC

#define L1DCC   (volatile unsigned int *)0x01840044

◆ L2WBAR

#define L2WBAR   (volatile unsigned int *)0x01844000

◆ L2WWC

#define L2WWC   (volatile unsigned int *)0x01844004

◆ L2WIBAR

#define L2WIBAR   (volatile unsigned int *)0x01844010

◆ L2IBAR

#define L2IBAR   (volatile unsigned int *)0x01844018

◆ L2WBINV

#define L2WBINV   (volatile unsigned int *)0x01845004

◆ L1DWBINV

#define L1DWBINV   (volatile unsigned int *)0x01845044

◆ L1DINV

#define L1DINV   (volatile unsigned int *)0x01845048

◆ L2INV

#define L2INV   (volatile unsigned int *)0x01845008

◆ L1DWb

#define L1DWb   (volatile unsigned int *)0x01845040

◆ L2Wb

#define L2Wb   (volatile unsigned int *)0x01845000

◆ L1DWWC

#define L1DWWC   (volatile unsigned int *)0x0184404C

◆ MAXWC

#define MAXWC   0xFF00 /* Max word count per cache operations */

Function Documentation

◆ Cache_inv()

void Cache_inv ( uint8_t *  blockPtr,
unsigned int  byteCnt,
bool  wait 
)

◆ Cache_wb()

void Cache_wb ( uint8_t *  blockPtr,
unsigned int  byteCnt,
bool  wait 
)

◆ Cache_wbInv()

void Cache_wbInv ( uint8_t *  blockPtr,
unsigned int  byteCnt,
bool  wait 
)

◆ Cache_WbInvAll()

void Cache_WbInvAll ( )

◆ Cache_InvAll()

void Cache_InvAll ( )

◆ Cache_WbAll()

void Cache_WbAll ( )

© Copyright 2018 Texas Instruments Incorporated. All rights reserved.
Document generated by doxygen 1.8.6