AM62x MCU+ SDK
10.00.00
sdl_ip_tog.h
Go to the documentation of this file.
1
45
#ifndef SDL_IP_TOG_H_
46
#define SDL_IP_TOG_H_
47
48
#ifdef __cplusplus
49
extern
"C"
{
50
#endif
51
52
/* ========================================================================== */
53
/* Include Files */
54
/* ========================================================================== */
55
56
#include <stdint.h>
57
#include <stdbool.h>
58
#include "
sdlr_tog.h
"
59
60
93
/* ========================================================================== */
94
/* Macros & Typedefs */
95
/* ========================================================================== */
96
107
typedef
uint32_t
SDL_TOG_IntrSrc
;
108
110
#define SDL_TOG_INTRSRC_TRANSACTION_TIMEOUT ((uint32_t) 1U<<0)
111
112
#define SDL_TOG_INTRSRC_UNEXPECTED_RESPONSE ((uint32_t) 1U<<1)
113
114
#define SDL_TOG_INTRSRC_COMMAND_TIMEOUT ((uint32_t) 1U<<2)
115
116
#define SDL_TOG_INTRSRC_ALL (SDL_TOG_INTRSRC_TRANSACTION_TIMEOUT | SDL_TOG_INTRSRC_UNEXPECTED_RESPONSE | SDL_TOG_INTRSRC_COMMAND_TIMEOUT)
117
119
/* ========================================================================== */
120
/* Function Declarations */
121
/* ========================================================================== */
122
135
int32_t
SDL_TOG_getIntrCountInternal
(uint32_t baseAddr,
SDL_TOG_IntrSrc
intrSrc, uint32_t *pIntrCnt );
136
149
int32_t
SDL_TOG_setTimeoutVal
(uint32_t baseAddr, uint32_t timeoutVal );
150
165
int32_t
SDL_TOG_setIntrPending
(uint32_t baseAddr,
SDL_TOG_IntrSrc
intrSrc );
166
169
#ifdef __cplusplus
170
}
171
#endif
172
173
#endif
/* SDL_IP_TOG_H_ */
174
175
/* nothing past this point */
SDL_TOG_setTimeoutVal
int32_t SDL_TOG_setTimeoutVal(uint32_t baseAddr, uint32_t timeoutVal)
Set the timeout value.
SDL_TOG_setIntrPending
int32_t SDL_TOG_setIntrPending(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc)
Set interrupt source(s)
SDL_TOG_getIntrCountInternal
int32_t SDL_TOG_getIntrCountInternal(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc, uint32_t *pIntrCnt)
Read internal interrupt count.
SDL_TOG_IntrSrc
uint32_t SDL_TOG_IntrSrc
This enumerator defines the possible timeout interrupt sources.
Definition:
sdl_ip_tog.h:107
sdlr_tog.h
source
sdl
stog
v0
sdl_ip_tog.h
generated by
1.8.20