Functions | |
void | SFR_enableInterrupt (uint8_t interruptMask) |
Enables selected SFR interrupt sources. More... | |
void | SFR_disableInterrupt (uint8_t interruptMask) |
Disables selected SFR interrupt sources. More... | |
uint8_t | SFR_getInterruptStatus (uint8_t interruptFlagMask) |
Returns the status of the selected SFR interrupt flags. More... | |
void | SFR_clearInterrupt (uint8_t interruptFlagMask) |
Clears the selected SFR interrupt flags. More... | |
void SFR_clearInterrupt | ( | uint8_t | interruptFlagMask | ) |
Clears the selected SFR interrupt flags.
This function clears the status of the selected SFR interrupt flags.
interruptFlagMask | is the bit mask of interrupt flags that will be cleared. Mask value is the logical OR of any of the following:
|
void SFR_disableInterrupt | ( | uint8_t | interruptMask | ) |
Disables selected SFR interrupt sources.
This function disables the selected SFR interrupt sources. Only the sources that are enabled can be reflected to the processor interrupt; disabled sources have no effect on the processor.
interruptMask | is the bit mask of interrupts that will be disabled. Mask value is the logical OR of any of the following:
|
void SFR_enableInterrupt | ( | uint8_t | interruptMask | ) |
Enables selected SFR interrupt sources.
This function enables the selected SFR interrupt sources. Only the sources that are enabled can be reflected to the processor interrupt; disabled sources have no effect on the processor. Does not clear interrupt flags.
interruptMask | is the bit mask of interrupts that will be enabled. Mask value is the logical OR of any of the following:
|
uint8_t SFR_getInterruptStatus | ( | uint8_t | interruptFlagMask | ) |
Returns the status of the selected SFR interrupt flags.
This function returns the status of the selected SFR interrupt flags in a bit mask format matching that passed into the interruptFlagMask parameter.
interruptFlagMask | is the bit mask of interrupt flags that the status of should be returned. Mask value is the logical OR of any of the following:
|