cache_disable_data. STMicroelectronics OS20
PDF
Document
Advertisement
Advertisement
16.2 OS20 function descriptions 16 Alphabetical list of functions
cache_disable_data
Disable the data cache
Synopsis
#include <cache.h> int cache_disable_data( void );
Arguments
None
Results
Returns 0 on success, -1 if an error occurs.
Errors
Returns -1 if the cache registers have been locked or if the data cache is not enabled.
Description
This function disables the data cache by flushing it before writing to the ENABLEDCACHE register.
Callable from
A task, interrupt service routine or a high priority process (on an ST20-C2).
See also
121
ADCS 7473749D
/
Download
Just a friendly reminder. You can view the document right here. But most importantly, our AI has already read it. It can explain complex things in simple terms, answer your questions in any language, and help you quickly navigate even the longest or most compilcated documents.
Advertisement