Include
xc.h |
Functions
ao_sys_pfm_ws_set
#define ao_sys_pfm_ws_set(ws) \
{ \
CHECONSET = _CHECON_PFMWS_MASK; \
CHECONCLR = _CHECON_PFMWS_MASK & ~((ws) << _CHECON_PFMWS_POSITION); \
}
Sets the program flash memory (PFM) access time defined in terms of SYSCLK wait states.
ao_sys_pref_disable
#define ao_sys_pref_disable() \
{ \
CHECONCLR = _CHECON_PREFEN_MASK; \
}
Disables predictive prefetch.
ao_sys_pref_enable_both
#define ao_sys_pref_enable_both() \
{ \
CHECONSET = _CHECON_PREFEN_MASK; \
}
Enables predictive prefetch for both cacheable and non-cacheable regions.
ao_sys_pref_enable_cacheable
#define ao_sys_pref_enable_cacheable() \
{ \
CHECONCLR = _CHECON_PREFEN_MASK; \
CHECONSET = _CHECON_PREFEN_MASK & (1 << _CHECON_PREFEN_POSITION); \
}
Enables predictive prefetch for cacheable regions.
ao_sys_pref_enable_non_cacheable
#define ao_sys_pref_enable_non_cacheable() \
{ \
CHECONCLR = _CHECON_PREFEN_MASK; \
CHECONSET = _CHECON_PREFEN_MASK & (2 << _CHECON_PREFEN_POSITION); \
}
Enables predictive prefetch for non-cacheable regions.