File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
mcux/mcux-sdk/drivers/irqsteer Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 21
21
* Prototypes
22
22
******************************************************************************/
23
23
24
+ #if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL ) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL )
24
25
/*!
25
26
* @brief Get instance number for IRQSTEER.
26
27
*
27
28
* @param base IRQSTEER peripheral base address.
28
29
*/
29
30
static uint32_t IRQSTEER_GetInstance (IRQSTEER_Type * base );
31
+ #endif
30
32
31
33
/*******************************************************************************
32
34
* Variables
33
35
******************************************************************************/
34
36
37
+ #if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL ) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL )
35
38
/*! @brief Array to map IRQSTEER instance number to base pointer. */
36
39
static IRQSTEER_Type * const s_irqsteerBases [] = IRQSTEER_BASE_PTRS ;
37
40
38
- #if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL ) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL )
39
41
/*! @brief Array to map IRQSTEER instance number to clock name. */
40
42
static const clock_ip_name_t s_irqsteerClockName [] = IRQSTEER_CLOCKS ;
41
43
#endif
@@ -48,7 +50,7 @@ static const IRQn_Type s_irqsteerIRQNumber[] = IRQSTEER_IRQS;
48
50
/*******************************************************************************
49
51
* Code
50
52
******************************************************************************/
51
-
53
+ #if !(defined( FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL ) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL )
52
54
static uint32_t IRQSTEER_GetInstance (IRQSTEER_Type * base )
53
55
{
54
56
uint32_t instance ;
@@ -66,6 +68,7 @@ static uint32_t IRQSTEER_GetInstance(IRQSTEER_Type *base)
66
68
67
69
return instance ;
68
70
}
71
+ #endif
69
72
70
73
/*!
71
74
* brief Initializes the IRQSTEER module.
You can’t perform that action at this time.
0 commit comments