diff options
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c')
-rw-r--r-- | software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c index 573c480..145e201 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c @@ -75,6 +75,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pIntrptConfig Pointer to interrupt configuration structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptConfigureDef UINT32 Oct6100InterruptConfigureDef( tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig ) { @@ -93,8 +94,10 @@ UINT32 Oct6100InterruptConfigureDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100InterruptConfigure UINT32 Oct6100InterruptConfigure( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig ) @@ -129,6 +132,7 @@ UINT32 Oct6100InterruptConfigure( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -151,6 +155,7 @@ f_pIntFlags Pointer to structure containing event flags returned to user. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptServiceRoutineDef UINT32 Oct6100InterruptServiceRoutineDef( tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) { @@ -177,8 +182,10 @@ UINT32 Oct6100InterruptServiceRoutineDef( return cOCT6100_ERR_OK; } +#endif +#if !SKIP_Oct6100InterruptServiceRoutine UINT32 Oct6100InterruptServiceRoutine( tPOCT6100_INSTANCE_API f_pApiInstance, tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -218,6 +225,7 @@ UINT32 Oct6100InterruptServiceRoutine( return cOCT6100_ERR_OK; } +#endif /**************************** PRIVATE FUNCTIONS ****************************/ @@ -237,6 +245,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiIsrSwInit UINT32 Oct6100ApiIsrSwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -267,6 +276,7 @@ UINT32 Oct6100ApiIsrSwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -285,6 +295,7 @@ f_pIntrptConfig Pointer to structure defining how the interrupts should be configured. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiIsrHwInit UINT32 Oct6100ApiIsrHwInit( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig ) @@ -342,6 +353,7 @@ UINT32 Oct6100ApiIsrHwInit( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -360,6 +372,7 @@ f_pIntrptConfig Pointer to interrupt configuration structure. f_fCheckParams Check parameter enable flag. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptConfigureSer UINT32 Oct6100InterruptConfigureSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_CONFIGURE f_pIntrptConfig, @@ -489,6 +502,7 @@ UINT32 Oct6100InterruptConfigureSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -507,6 +521,7 @@ f_pIntFlags Pointer to structure containing event flags returned to user. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100InterruptServiceRoutineSer UINT32 Oct6100InterruptServiceRoutineSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -647,6 +662,7 @@ UINT32 Oct6100InterruptServiceRoutineSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -666,6 +682,7 @@ f_pIntFlags Pointer to an interrupt flag structure. f_ulRegister210h Value of register 0x210. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReadIntrptRegs UINT32 Oct6100ApiReadIntrptRegs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, OUT tPOCT6100_INTERRUPT_FLAGS f_pIntFlags, @@ -936,6 +953,7 @@ UINT32 Oct6100ApiReadIntrptRegs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -953,6 +971,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pIntFlags Interrupt flags. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateIntrptStates UINT32 Oct6100ApiUpdateIntrptStates( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -1007,6 +1026,7 @@ UINT32 Oct6100ApiUpdateIntrptStates( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1024,6 +1044,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteIntrptRegs UINT32 Oct6100ApiWriteIntrptRegs( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1147,6 +1168,7 @@ UINT32 Oct6100ApiWriteIntrptRegs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1162,6 +1184,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiWriteIeRegs UINT32 Oct6100ApiWriteIeRegs( tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1266,6 +1289,7 @@ UINT32 Oct6100ApiWriteIeRegs( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1282,6 +1306,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiReadChipMclkTime UINT32 Oct6100ApiReadChipMclkTime( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1332,6 +1357,7 @@ UINT32 Oct6100ApiReadChipMclkTime( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1348,6 +1374,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiUpdateIntrptTimeouts UINT32 Oct6100ApiUpdateIntrptTimeouts( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1475,6 +1502,7 @@ UINT32 Oct6100ApiUpdateIntrptTimeouts( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1490,6 +1518,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep the present state of the chip and all its resources. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiScheduleNextMclkIntrptSer UINT32 Oct6100ApiScheduleNextMclkIntrptSer( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance ) { @@ -1670,6 +1699,7 @@ UINT32 Oct6100ApiScheduleNextMclkIntrptSer( return cOCT6100_ERR_OK; } +#endif /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ @@ -1688,6 +1718,7 @@ f_pApiInstance Pointer to API instance. This memory is used to keep f_pIntFlags Pointer to a tOCT6100_INTERRUPT_FLAGS structure. \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ +#if !SKIP_Oct6100ApiCheckProcessorState UINT32 Oct6100ApiCheckProcessorState( IN OUT tPOCT6100_INSTANCE_API f_pApiInstance, IN OUT tPOCT6100_INTERRUPT_FLAGS f_pIntFlags ) @@ -1832,5 +1863,4 @@ UINT32 Oct6100ApiCheckProcessorState( return cOCT6100_ERR_OK; } - - +#endif |