Functions | |
void | TEC_initExternalClearInput (uint16_t baseAddress, uint8_t signalType, uint8_t signalHold, uint8_t polarityBit) |
Configures the Timer Event Control External Clear Input. More... | |
void | TEC_initExternalFaultInput (uint16_t baseAddress, TEC_initExternalFaultInputParam *param) |
Configures the Timer Event Control External Fault Input. More... | |
void | TEC_enableExternalFaultInput (uint16_t baseAddress, uint8_t channelEventBlock) |
Enable the Timer Event Control External fault input. More... | |
void | TEC_disableExternalFaultInput (uint16_t baseAddress, uint8_t channelEventBlock) |
Disable the Timer Event Control External fault input. More... | |
void | TEC_enableExternalClearInput (uint16_t baseAddress) |
Enable the Timer Event Control External Clear Input. More... | |
void | TEC_disableExternalClearInput (uint16_t baseAddress) |
Disable the Timer Event Control External Clear Input. More... | |
void | TEC_enableAuxiliaryClearSignal (uint16_t baseAddress) |
Enable the Timer Event Control Auxiliary Clear Signal. More... | |
void | TEC_disableAuxiliaryClearSignal (uint16_t baseAddress) |
Disable the Timer Event Control Auxiliary Clear Signal. More... | |
void | TEC_clearInterrupt (uint16_t baseAddress, uint8_t mask) |
Clears the Timer Event Control Interrupt flag. More... | |
uint8_t | TEC_getInterruptStatus (uint16_t baseAddress, uint8_t mask) |
Gets the current Timer Event Control interrupt status. More... | |
void | TEC_enableInterrupt (uint16_t baseAddress, uint8_t mask) |
Enables individual Timer Event Control interrupt sources. More... | |
void | TEC_disableInterrupt (uint16_t baseAddress, uint8_t mask) |
Disables individual Timer Event Control interrupt sources. More... | |
uint8_t | TEC_getExternalFaultStatus (uint16_t baseAddress, uint8_t mask) |
Gets the current Timer Event Control External Fault Status. More... | |
void | TEC_clearExternalFaultStatus (uint16_t baseAddress, uint8_t mask) |
Clears the Timer Event Control External Fault Status. More... | |
uint8_t | TEC_getExternalClearStatus (uint16_t baseAddress) |
Gets the current Timer Event Control External Clear Status. More... | |
void | TEC_clearExternalClearStatus (uint16_t baseAddress) |
Clears the Timer Event Control External Clear Status. More... | |
void TEC_clearExternalClearStatus | ( | uint16_t | baseAddress | ) |
Clears the Timer Event Control External Clear Status.
baseAddress | is the base address of the TEC module. |
Modified bits of TECxINT register.
void TEC_clearExternalFaultStatus | ( | uint16_t | baseAddress, |
uint8_t | mask | ||
) |
Clears the Timer Event Control External Fault Status.
baseAddress | is the base address of the TEC module. |
mask | is the masked status flag be cleared Mask value is the logical OR of any of the following:
|
Modified bits of TECxINT register.
void TEC_clearInterrupt | ( | uint16_t | baseAddress, |
uint8_t | mask | ||
) |
Clears the Timer Event Control Interrupt flag.
baseAddress | is the base address of the TEC module. |
mask | is the masked interrupt flag to be cleared. Mask value is the logical OR of any of the following:
|
Modified bits of TECxINT register.
void TEC_disableAuxiliaryClearSignal | ( | uint16_t | baseAddress | ) |
Disable the Timer Event Control Auxiliary Clear Signal.
baseAddress | is the base address of the TEC module. |
Modified bits of TECxCTL2 register.
void TEC_disableExternalClearInput | ( | uint16_t | baseAddress | ) |
Disable the Timer Event Control External Clear Input.
baseAddress | is the base address of the TEC module. |
Modified bits of TECxCTL2 register.
void TEC_disableExternalFaultInput | ( | uint16_t | baseAddress, |
uint8_t | channelEventBlock | ||
) |
Disable the Timer Event Control External fault input.
baseAddress | is the base address of the TEC module. |
channelEventBlock | selects the channel event block Valid values are:
|
Modified bits of TECxCTL0 register.
void TEC_disableInterrupt | ( | uint16_t | baseAddress, |
uint8_t | mask | ||
) |
Disables individual Timer Event Control interrupt sources.
Disables the indicated Timer Event Control interrupt sources. Only the sources that are enabled can be reflected to the processor interrupt; disabled sources have no effect on the processor.
baseAddress | is the base address of the TEC module. |
mask | is the bit mask of the interrupt sources to be disabled. Mask value is the logical OR of any of the following:
|
Modified bits of TECxINT register.
void TEC_enableAuxiliaryClearSignal | ( | uint16_t | baseAddress | ) |
Enable the Timer Event Control Auxiliary Clear Signal.
baseAddress | is the base address of the TEC module. |
Modified bits of TECxCTL2 register.
void TEC_enableExternalClearInput | ( | uint16_t | baseAddress | ) |
Enable the Timer Event Control External Clear Input.
baseAddress | is the base address of the TEC module. |
Modified bits of TECxCTL2 register.
void TEC_enableExternalFaultInput | ( | uint16_t | baseAddress, |
uint8_t | channelEventBlock | ||
) |
Enable the Timer Event Control External fault input.
baseAddress | is the base address of the TEC module. |
channelEventBlock | selects the channel event block Valid values are:
|
Modified bits of TECxCTL0 register.
void TEC_enableInterrupt | ( | uint16_t | baseAddress, |
uint8_t | mask | ||
) |
Enables individual Timer Event Control interrupt sources.
Enables the indicated Timer Event Control 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.
baseAddress | is the base address of the TEC module. |
mask | is the bit mask of the interrupt sources to be enabled. Mask value is the logical OR of any of the following:
|
Modified bits of TECxINT register.
uint8_t TEC_getExternalClearStatus | ( | uint16_t | baseAddress | ) |
Gets the current Timer Event Control External Clear Status.
baseAddress | is the base address of the TEC module. |
uint8_t TEC_getExternalFaultStatus | ( | uint16_t | baseAddress, |
uint8_t | mask | ||
) |
Gets the current Timer Event Control External Fault Status.
This returns the Timer Event Control fault status for the module.
baseAddress | is the base address of the TEC module. |
mask | is the masked interrupt flag status to be returned. Mask value is the logical OR of any of the following:
|
uint8_t TEC_getInterruptStatus | ( | uint16_t | baseAddress, |
uint8_t | mask | ||
) |
Gets the current Timer Event Control interrupt status.
This returns the interrupt status for the module based on which flag is passed.
baseAddress | is the base address of the TEC module. |
mask | is the masked interrupt flag status to be returned. Mask value is the logical OR of any of the following:
|
void TEC_initExternalClearInput | ( | uint16_t | baseAddress, |
uint8_t | signalType, | ||
uint8_t | signalHold, | ||
uint8_t | polarityBit | ||
) |
Configures the Timer Event Control External Clear Input.
baseAddress | is the base address of the TEC module. |
signalType | is the selected signal type Valid values are:
|
signalHold | is the selected signal hold Valid values are:
|
polarityBit | is the selected signal type Valid values are:
|
Modified bits of TECxCTL2 register.
void TEC_initExternalFaultInput | ( | uint16_t | baseAddress, |
TEC_initExternalFaultInputParam * | param | ||
) |
Configures the Timer Event Control External Fault Input.
baseAddress | is the base address of the TEC module. |
param | is the pointer to struct for external fault input initialization. |
Modified bits of TECxCTL2 register.
References TEC_initExternalFaultInputParam::polarityBit, TEC_initExternalFaultInputParam::selectedExternalFault, TEC_initExternalFaultInputParam::signalHold, and TEC_initExternalFaultInputParam::signalType.