redid the mcc graphical stuff

This commit is contained in:
2025-02-02 11:11:54 -05:00
parent ea24f650d1
commit 988765e2c2
22 changed files with 948 additions and 184 deletions

View File

@@ -7,9 +7,9 @@
*
* @brief This file contains API prototypes and other data types for the TMR1 driver.
*
* @version TMR1 Driver Version 4.0.0
* @version TMR1 Driver Version 4.1.0
*
* @version Package Version 5.0.0
* @version Package Version 5.1.0
*/
/*
<EFBFBD> [2025] Microchip Technology Inc. and its subsidiaries.
@@ -153,22 +153,41 @@
#define TMR_SENSOR_GateCallbackRegister TMR1_GateCallbackRegister
/**
* @ingroup tmr1
* @brief Defines the Custom Name for the \ref TMR1_TMRInterruptEnable API.
* @brief Defines the Custom Name for the \ref TMR1_OverflowInterruptEnable API.
*/
/* cppcheck-suppress misra-c2012-2.5 */
#define TMR_SENSOR_TMRInterruptEnable TMR1_TMRInterruptEnable
#define TMR_SENSOR_OverflowInterruptEnable TMR1_OverflowInterruptEnable
/**
* @ingroup tmr1
* @brief Defines the Custom Name for the \ref TMR1_TMRInterruptDisable API.
* @brief Defines the Custom Name for the \ref TMR1_OverflowInterruptDisable API.
*/
/* cppcheck-suppress misra-c2012-2.5 */
#define TMR_SENSOR_TMRInterruptDisable TMR1_TMRInterruptDisable
#define TMR_SENSOR_OverflowInterruptDisable TMR1_OverflowInterruptDisable
/**
* @ingroup tmr1
* @brief Defines the Custom Name for the \ref TMR1_OverflowCallbackRegister API.
*/
/* cppcheck-suppress misra-c2012-2.5 */
#define TMR_SENSOR_OverflowCallbackRegister TMR1_OverflowCallbackRegister
/**
* @ingroup tmr1
* @brief Defines the Custom Name for the \ref TMR1_GateEventStatusGet API.
*/
/* cppcheck-suppress misra-c2012-2.5 */
#define TMR_SENSOR_GateEventStatusGet TMR1_GateEventStatusGet
/**
* @ingroup tmr1
* @brief Defines the Custom Name for the \ref TMR1_GateEventStatusClear API.
*/
/* cppcheck-suppress misra-c2012-2.5 */
#define TMR_SENSOR_GateEventStatusClear TMR1_GateEventStatusClear
/**
* @ingroup tmr1
* @brief Defines the Custom Name for the \ref TMR1_Tasks API.
*/
/* cppcheck-suppress misra-c2012-2.5 */
#define TMR_SENSOR_Tasks TMR1_Tasks
/**
* @ingroup tmr1
@@ -281,7 +300,7 @@ uint8_t TMR1_GateStateGet(void);
* @param None.
* @return None.
*/
void TMR1_TMRInterruptEnable(void);
void TMR1_OverflowInterruptEnable(void);
/**
* @ingroup tmr1
@@ -289,7 +308,7 @@ void TMR1_TMRInterruptEnable(void);
* @param None.
* @return None.
*/
void TMR1_TMRInterruptDisable(void);
void TMR1_OverflowInterruptDisable(void);
/**
* @ingroup tmr1
@@ -299,6 +318,31 @@ void TMR1_TMRInterruptDisable(void);
*/
void TMR1_OverflowISR(void);
/**
* @ingroup tmr1
* @brief Returns the TMR1 Gate flag status in Non-Interrupt mode.
* @param None.
* @retval True - Timer Gate Event has occurred
* @retval False - Timer Gate Event has not occurred
*/
bool TMR1_GateEventStatusGet(void);
/**
* @ingroup tmr1
* @brief Clears the TMR1 Gate flag in Non-Interrupt mode.
* @param None.
* @return None.
*/
void TMR1_GateEventStatusClear(void);
/**
* @ingroup tmr1
* @brief Performs the tasks to be executed during the TMR1 overflow or gate event.
* @param None.
* @return None.
*/
void TMR1_Tasks(void);
/**
* @ingroup tmr1
* @brief Registers a callback function for the TMR1 overflow event.