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 
109 typedef uint32_t SDL_TOG_IntrSrc;
111 
113 #define SDL_TOG_INTRSRC_TRANSACTION_TIMEOUT ((uint32_t) 1U<<0)
114 
115 #define SDL_TOG_INTRSRC_UNEXPECTED_RESPONSE ((uint32_t) 1U<<1)
116 
117 #define SDL_TOG_INTRSRC_COMMAND_TIMEOUT ((uint32_t) 1U<<2)
118 
119 #define SDL_TOG_INTRSRC_ALL (SDL_TOG_INTRSRC_TRANSACTION_TIMEOUT | SDL_TOG_INTRSRC_UNEXPECTED_RESPONSE | SDL_TOG_INTRSRC_COMMAND_TIMEOUT)
120 
142 int32_t SDL_TOG_getIntrCountInternal(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc, uint32_t *pIntrCnt );
143 
156  int32_t SDL_TOG_setTimeoutVal(uint32_t baseAddr, uint32_t timeoutVal );
157 
172 int32_t SDL_TOG_setIntrPending(uint32_t baseAddr, SDL_TOG_IntrSrc intrSrc );
173 
176 #ifdef __cplusplus
177 }
178 #endif
179 
180 #endif /* SDL_IP_TOG_H_ */
181 
182 /* nothing past this point */
uint32_t SDL_TOG_IntrSrc
Definition: sdl_ip_tog.h:110
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.