forked from Imagelibrary/rtems
Added SCV64_Get_Interrupt_Enable().
Added proper headers to routines.
This commit is contained in:
@@ -102,7 +102,8 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
SCV64_Registers *SCV64 = (void *)DMV170_SCV64_BASE_ADDRESS;
|
SCV64_Registers *SCV64 = (void *)DMV170_SCV64_BASE_ADDRESS;
|
||||||
|
|
||||||
/*
|
/*PAGE
|
||||||
|
*
|
||||||
* SCV64_Initialize
|
* SCV64_Initialize
|
||||||
*
|
*
|
||||||
* This routine initializes the SCV64.
|
* This routine initializes the SCV64.
|
||||||
@@ -111,7 +112,8 @@ void SCV64_Initialize() {
|
|||||||
SCV64->LIE = 0;
|
SCV64->LIE = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*PAGE
|
||||||
|
*
|
||||||
* SCV64_Generate_DUART_Interrupts
|
* SCV64_Generate_DUART_Interrupts
|
||||||
*
|
*
|
||||||
* This sets the SCV64 to generate duart interrupts for
|
* This sets the SCV64 to generate duart interrupts for
|
||||||
@@ -136,7 +138,8 @@ void SCV64_Generate_DUART_Interrupts() {
|
|||||||
SCV64->IC54 = data;
|
SCV64->IC54 = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*PAGE
|
||||||
|
*
|
||||||
* SCV64_Get_Interrupt
|
* SCV64_Get_Interrupt
|
||||||
*
|
*
|
||||||
* This routine returns the SCV64 status register.
|
* This routine returns the SCV64 status register.
|
||||||
@@ -153,7 +156,8 @@ rtems_unsigned32 SCV64_Get_Interrupt()
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*PAGE
|
||||||
|
*
|
||||||
* SCV64_Get_Interrupt_Enable
|
* SCV64_Get_Interrupt_Enable
|
||||||
*
|
*
|
||||||
* This routine returns the interrupt enable mask.
|
* This routine returns the interrupt enable mask.
|
||||||
|
|||||||
Reference in New Issue
Block a user