AM243x MCU+ SDK  09.02.01
sdl_lbist_priv.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
41 #ifndef SDL_LBIST_PRIV_H_
42 #define SDL_LBIST_PRIV_H_
43 
44 #include <sdl/dpl/sdl_dpl.h>
45 #if defined (IP_VERSION_LBIST_V0)
47 #endif
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
52 #define LBIST_NOT_DONE (0x0U)
53 #define LBIST_DONE (0x1U)
54 
55 typedef struct
56 {
60  uint32_t *pLBISTSig;
62  uint32_t expectedMISR;
64  uint32_t interruptNumber;
66  volatile uint32_t doneFlag;
70 
71 
73 
74 void SDL_LBIST_eventHandler(void *arg);
75 
76 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif /* SDL_LBIST_PRIV_H_ */
82 
SDL_lbistRegs
Definition: sdlr_lbist.h:52
SDL_LBIST_getInstInfo
SDL_lbistInstInfo * SDL_LBIST_getInstInfo(uint32_t instance)
SDL_lbistInstInfo::pLBISTSig
uint32_t * pLBISTSig
Definition: sdl_lbist_priv.h:60
sdl_ip_lbist.h
SDL_lbistInstInfo
Definition: sdl_lbist_priv.h:56
SDL_LBIST_eventHandler
void SDL_LBIST_eventHandler(void *arg)
sdl_dpl.h
This file contains the SDL DPL API's.
SDL_lbistInstInfo::doneFlag
volatile uint32_t doneFlag
Definition: sdl_lbist_priv.h:66
SDL_lbistInstInfo::interruptNumber
uint32_t interruptNumber
Definition: sdl_lbist_priv.h:64
SDL_lbistInstInfo::LBISTConfig
SDL_LBIST_config_t LBISTConfig
Definition: sdl_lbist_priv.h:68
SDL_lbistInstInfo::pLBISTRegs
SDL_lbistRegs * pLBISTRegs
Definition: sdl_lbist_priv.h:58
SDL_lbistInstInfo::expectedMISR
uint32_t expectedMISR
Definition: sdl_lbist_priv.h:62
SDL_LBIST_config_t
This structure contains the different configuration used for LBIST Note that the LBIST configuration ...
Definition: sdl_ip_lbist.h:66