SDL API Guide for J721E
sdl_ip_tog.h
Go to the documentation of this file.
1 
40 #ifndef SDL_IP_TOG_H_
41 #define SDL_IP_TOG_H_
42 
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 
47 #include <stdint.h>
48 #include <stdbool.h>
49 #include <src/ip/sdlr_tog.h>
50 #include <src/ip/sdl_ip_tog.h>
51 
111 typedef uint32_t SDL_TOG_IntrSrc;
112 
114 #define SDL_TOG_INTRSRC_TRANSACTION_TIMEOUT ((uint32_t) 1U<<0)
115 
116 #define SDL_TOG_INTRSRC_UNEXPECTED_RESPONSE ((uint32_t) 1U<<1)
117 
118 #define SDL_TOG_INTRSRC_COMMAND_TIMEOUT ((uint32_t) 1U<<2)
119 
120 #define SDL_TOG_INTRSRC_ALL (SDL_TOG_INTRSRC_TRANSACTION_TIMEOUT | SDL_TOG_INTRSRC_UNEXPECTED_RESPONSE | SDL_TOG_INTRSRC_COMMAND_TIMEOUT)
121 /* @} */
122 
143 int32_t SDL_TOG_getIntrCountInternal(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc, uint32_t *pIntrCnt );
144 
157  int32_t SDL_TOG_setTimeoutVal(uint32_t baseAddr, uint32_t timeoutVal );
158 
173 int32_t SDL_TOG_setIntrPending(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc );
174 
177 #ifdef __cplusplus
178 }
179 #endif
180 
181 #endif /* SDL_IP_TOG_H_ */
182 
183 /* nothing past this point */
uint32_t SDL_TOG_IntrSrc
Definition: sdl_ip_tog.h:111
int32_t SDL_TOG_setIntrPending(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc)
Set interrupt source(s)
int32_t SDL_TOG_setTimeoutVal(uint32_t baseAddr, uint32_t timeoutVal)
Set the timeout value.
int32_t SDL_TOG_getIntrCountInternal(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc, uint32_t *pIntrCnt)
Read internal interrupt count.