From 988765e2c22b38632db385a8980f9be761c83467 Mon Sep 17 00:00:00 2001 From: lefake Date: Sun, 2 Feb 2025 11:11:54 -0500 Subject: [PATCH] redid the mcc graphical stuff --- mcc-manifest-autosave.yml | 11 +- mcc-manifest-generated-success.yml | 11 +- mcc_generated_files/pwm/pwm3.h | 2 +- mcc_generated_files/pwm/pwm4.h | 2 +- mcc_generated_files/pwm/src/pwm3.c | 4 +- mcc_generated_files/pwm/src/pwm4.c | 4 +- mcc_generated_files/system/src/interrupt.c | 2 +- mcc_generated_files/system/src/pins.c | 4 +- mcc_generated_files/timer/src/tmr1.c | 70 ++-- mcc_generated_files/timer/src/tmr2.c | 64 ++-- mcc_generated_files/timer/tmr1.h | 60 +++- mcc_generated_files/timer/tmr1_deprecated.h | 32 +- mcc_generated_files/timer/tmr2.h | 346 +++++++++++++++++--- mcc_generated_files/timer/tmr2_deprecated.h | 107 ++++++ mcc_generated_files/uart/eusart1.h | 14 +- mcc_generated_files/uart/src/eusart1.c | 7 +- nbproject/Makefile-default.mk | 60 ++-- nbproject/Makefile-genesis.properties | 12 +- nbproject/configurations.xml | 8 +- nbproject/private/private.xml | 13 +- nbproject/project.xml | 4 +- pw-module.mc3 | 295 +++++++++++++++++ 22 files changed, 948 insertions(+), 184 deletions(-) create mode 100644 mcc_generated_files/timer/tmr2_deprecated.h create mode 100644 pw-module.mc3 diff --git a/mcc-manifest-autosave.yml b/mcc-manifest-autosave.yml index 8e18b02..a19043d 100644 --- a/mcc-manifest-autosave.yml +++ b/mcc-manifest-autosave.yml @@ -1,8 +1,8 @@ # This file has been autogenerated by MPLAB Code Configurator. Please do not edit this file. manifest_file_version: 1.0.0 -project: test_pcb -creation_date: 2025-01-27T15:17:19.196-05:00[America/Toronto] +project: pw-module +creation_date: 2025-02-02T11:03:29.875-05:00[America/Toronto] operating_system: Linux mcc_mode: IDE mcc_mode_version: v6.20 @@ -18,17 +18,16 @@ device_library: {library_class: com.microchip.mcc.melody.Library, name: Melody, packs: {name: PIC16F1xxxx_DFP, version: 1.26.410} modules: - {name: '@mchp-mcc/main-manager', type: MELODY, version: 3.1.2} -- {name: '@mchp-mcc/pic-8bit', type: MELODY, version: 5.28.4} +- {name: '@mchp-mcc/pic-8bit', type: MELODY, version: 5.29.0} - {name: '@mchp-mcc/pic16-configuration-bits-v3', type: MELODY, version: 1.0.5} - {name: '@mchp-mcc/pic16-pin-manager', type: MELODY, version: 3.6.1} - {name: '@mchp-mcc/pin-content-processor', type: MELODY, version: 3.9.0} - {name: '@mchp-mcc/scf-pic8-adc-v1', type: MELODY, version: 3.0.10} -- {name: '@mchp-mcc/scf-pic8-eusart-v1', type: MELODY, version: 7.1.6} +- {name: '@mchp-mcc/scf-pic8-eusart-v1', type: MELODY, version: 7.1.7} - {name: '@mchp-mcc/scf-pic8-interrupt-v2', type: MELODY, version: 5.2.12} - {name: '@mchp-mcc/scf-pic8-osc-v1', type: MELODY, version: 4.3.7} - {name: '@mchp-mcc/scf-pic8-pwm-v2', type: MELODY, version: 4.2.12} - {name: '@mchp-mcc/scf-pic8-tmr0-v1', type: MELODY, version: 5.0.0} -- {name: '@mchp-mcc/scf-pic8-tmr1-v1', type: MELODY, version: 5.0.0} +- {name: '@mchp-mcc/scf-pic8-tmr1-v1', type: MELODY, version: 5.1.0} - {name: '@mchp-mcc/scf-pic8-tmr2-v1', type: MELODY, version: 5.0.0} -- {name: '@mchp-mcc/timer', type: MELODY, version: 1.2.2} - {name: '@mchp-mcc/uart-driver', type: MELODY, version: 1.10.2} diff --git a/mcc-manifest-generated-success.yml b/mcc-manifest-generated-success.yml index 9435c52..38e6504 100644 --- a/mcc-manifest-generated-success.yml +++ b/mcc-manifest-generated-success.yml @@ -1,8 +1,8 @@ # This file has been autogenerated by MPLAB Code Configurator. Please do not edit this file. manifest_file_version: 1.0.0 -project: test_pcb -creation_date: 2025-01-25T13:42:55.333-05:00[America/Toronto] +project: pw-module +creation_date: 2025-02-02T11:03:29.871-05:00[America/Toronto] operating_system: Linux mcc_mode: IDE mcc_mode_version: v6.20 @@ -18,17 +18,16 @@ device_library: {library_class: com.microchip.mcc.melody.Library, name: Melody, packs: {name: PIC16F1xxxx_DFP, version: 1.26.410} modules: - {name: '@mchp-mcc/main-manager', type: MELODY, version: 3.1.2} -- {name: '@mchp-mcc/pic-8bit', type: MELODY, version: 5.28.4} +- {name: '@mchp-mcc/pic-8bit', type: MELODY, version: 5.29.0} - {name: '@mchp-mcc/pic16-configuration-bits-v3', type: MELODY, version: 1.0.5} - {name: '@mchp-mcc/pic16-pin-manager', type: MELODY, version: 3.6.1} - {name: '@mchp-mcc/pin-content-processor', type: MELODY, version: 3.9.0} - {name: '@mchp-mcc/scf-pic8-adc-v1', type: MELODY, version: 3.0.10} -- {name: '@mchp-mcc/scf-pic8-eusart-v1', type: MELODY, version: 7.1.6} +- {name: '@mchp-mcc/scf-pic8-eusart-v1', type: MELODY, version: 7.1.7} - {name: '@mchp-mcc/scf-pic8-interrupt-v2', type: MELODY, version: 5.2.12} - {name: '@mchp-mcc/scf-pic8-osc-v1', type: MELODY, version: 4.3.7} - {name: '@mchp-mcc/scf-pic8-pwm-v2', type: MELODY, version: 4.2.12} - {name: '@mchp-mcc/scf-pic8-tmr0-v1', type: MELODY, version: 5.0.0} -- {name: '@mchp-mcc/scf-pic8-tmr1-v1', type: MELODY, version: 5.0.0} +- {name: '@mchp-mcc/scf-pic8-tmr1-v1', type: MELODY, version: 5.1.0} - {name: '@mchp-mcc/scf-pic8-tmr2-v1', type: MELODY, version: 5.0.0} -- {name: '@mchp-mcc/timer', type: MELODY, version: 1.2.2} - {name: '@mchp-mcc/uart-driver', type: MELODY, version: 1.10.2} diff --git a/mcc_generated_files/pwm/pwm3.h b/mcc_generated_files/pwm/pwm3.h index 5536076..be6be96 100644 --- a/mcc_generated_files/pwm/pwm3.h +++ b/mcc_generated_files/pwm/pwm3.h @@ -45,7 +45,7 @@ * Section: Macro Declarations */ - #define PWM3_INITIALIZE_DUTY_VALUE 499 + #define PWM3_INITIALIZE_DUTY_VALUE 511 /** diff --git a/mcc_generated_files/pwm/pwm4.h b/mcc_generated_files/pwm/pwm4.h index 68cf419..921a70e 100644 --- a/mcc_generated_files/pwm/pwm4.h +++ b/mcc_generated_files/pwm/pwm4.h @@ -45,7 +45,7 @@ * Section: Macro Declarations */ - #define PWM4_INITIALIZE_DUTY_VALUE 499 + #define PWM4_INITIALIZE_DUTY_VALUE 511 /** diff --git a/mcc_generated_files/pwm/src/pwm3.c b/mcc_generated_files/pwm/src/pwm3.c index 24e9507..a4efbf7 100644 --- a/mcc_generated_files/pwm/src/pwm3.c +++ b/mcc_generated_files/pwm/src/pwm3.c @@ -49,8 +49,8 @@ // PWMPOL active_hi; PWMEN enabled; PWM3CON = 0x80; - // PWMDCH 124; - PWM3DCH = 0x7C; + // PWMDCH 127; + PWM3DCH = 0x7F; // PWMDCL 3; PWM3DCL = 0xC0; diff --git a/mcc_generated_files/pwm/src/pwm4.c b/mcc_generated_files/pwm/src/pwm4.c index d501d70..1570798 100644 --- a/mcc_generated_files/pwm/src/pwm4.c +++ b/mcc_generated_files/pwm/src/pwm4.c @@ -49,8 +49,8 @@ // PWMPOL active_hi; PWMEN enabled; PWM4CON = 0x80; - // PWMDCH 124; - PWM4DCH = 0x7C; + // PWMDCH 127; + PWM4DCH = 0x7F; // PWMDCL 3; PWM4DCL = 0xC0; diff --git a/mcc_generated_files/system/src/interrupt.c b/mcc_generated_files/system/src/interrupt.c index 00b1a0d..a57b8b8 100644 --- a/mcc_generated_files/system/src/interrupt.c +++ b/mcc_generated_files/system/src/interrupt.c @@ -11,7 +11,7 @@ */ /* -© [2025] Microchip Technology Inc. and its subsidiaries. +? [2025] Microchip Technology Inc. and its subsidiaries. Subject to your compliance with these terms, you may use Microchip software and any derivatives exclusively with Microchip products. diff --git a/mcc_generated_files/system/src/pins.c b/mcc_generated_files/system/src/pins.c index 9c5feaa..f35be12 100644 --- a/mcc_generated_files/system/src/pins.c +++ b/mcc_generated_files/system/src/pins.c @@ -12,7 +12,7 @@ */ /* -© [2025] Microchip Technology Inc. and its subsidiaries. +? [2025] Microchip Technology Inc. and its subsidiaries. Subject to your compliance with these terms, you may use Microchip software and any derivatives exclusively with Microchip products. @@ -82,9 +82,9 @@ void PIN_MANAGER_Initialize(void) PPS registers */ RX1DTPPS = 0x14; //RC4->EUSART1:RX1; + RA4PPS = 0x0B; //RA4->PWM3:PWM3OUT; RA5PPS = 0x0C; //RA5->PWM4:PWM4OUT; RC5PPS = 0x0F; //RC5->EUSART1:TX1; - RA4PPS = 0x0B; //RA4->PWM3:PWM3OUT; /** APFCON registers diff --git a/mcc_generated_files/timer/src/tmr1.c b/mcc_generated_files/timer/src/tmr1.c index 9a3389b..1a24e15 100644 --- a/mcc_generated_files/timer/src/tmr1.c +++ b/mcc_generated_files/timer/src/tmr1.c @@ -7,9 +7,9 @@ * * @brief Driver implementation 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 */ /* © [2025] Microchip Technology Inc. and its subsidiaries. @@ -39,16 +39,15 @@ #include #include "../tmr1.h" - static volatile uint16_t timer1ReloadVal; static void (*TMR1_OverflowCallback)(void); -static void (*TMR1_GateCallback)(void); static void TMR1_DefaultOverflowCallback(void); +static void (*TMR1_GateCallback)(void); static void TMR1_DefaultGateCallback(void); void TMR1_Initialize(void) { - T1CONbits.TMR1ON = 0; // TMRON disabled + T1CONbits.TMR1ON = 0U; // TMRON disabled T1GCON = (0 << _T1GCON_T1GGO_POSN) // T1GGO done | (0 << _T1GCON_T1GSPM_POSN) // T1GSPM disabled @@ -64,11 +63,13 @@ void TMR1_Initialize(void) TMR1L = 0xE3; timer1ReloadVal=((uint16_t)TMR1H << 8) | TMR1L; + TMR1_OverflowCallback = TMR1_DefaultOverflowCallback; TMR1_GateCallback = TMR1_DefaultGateCallback; - PIR4bits.TMR1IF = 0; - PIE4bits.TMR1IE = 1; + PIR4bits.TMR1IF = 0U; + PIE4bits.TMR1IE = 1U; + PIR5bits.TMR1GIF = 0U; T1CON = (1 << _T1CON_TMR1ON_POSN) // TMR1ON enabled | (0 << _T1CON_T1RD16_POSN) // T1RD16 disabled @@ -78,7 +79,7 @@ void TMR1_Initialize(void) void TMR1_Deinitialize(void) { - T1CONbits.TMR1ON = 0; // TMRON disabled + T1CONbits.TMR1ON = 0U; // TMRON disabled T1CON = 0x0; T1GCON = 0x0; @@ -87,20 +88,20 @@ void TMR1_Deinitialize(void) TMR1H = 0x0; TMR1L = 0x0; - PIR4bits.TMR1IF = 0; - PIE4bits.TMR1IE = 0; - PIR5bits.TMR1GIF = 0; - PIE5bits.TMR1GIE = 0; + PIR4bits.TMR1IF = 0U; + PIE4bits.TMR1IE = 0U; + PIR5bits.TMR1GIF = 0U; + PIE5bits.TMR1GIE = 0U; } void TMR1_Start(void) { - T1CONbits.TMR1ON = 1; + T1CONbits.TMR1ON = 1U; } void TMR1_Stop(void) { - T1CONbits.TMR1ON = 0; + T1CONbits.TMR1ON = 0U; } uint16_t TMR1_CounterGet(void) @@ -112,25 +113,26 @@ uint16_t TMR1_CounterGet(void) readValLow = TMR1L; readValHigh = TMR1H; - readVal = ((uint16_t)readValHigh << 8) | readValLow; + readVal = ((uint16_t)readValHigh << 8U) | readValLow; return readVal; } +/* cppcheck-suppress misra-c2012-8.7 */ void TMR1_CounterSet(uint16_t timerVal) { if (1U == T1CONbits.nT1SYNC) { bool onState = T1CONbits.TMR1ON; - TMR1H = (uint8_t)(timerVal >> 8); + TMR1H = (uint8_t)(timerVal >> 8U); TMR1L = (uint8_t)timerVal; T1CONbits.TMR1ON = onState; } else { - TMR1H = (uint8_t)(timerVal >> 8); + TMR1H = (uint8_t)(timerVal >> 8U); TMR1L = (uint8_t)timerVal; } } @@ -158,7 +160,7 @@ uint16_t TMR1_MaxCountGet(void) void TMR1_SinglePulseAcquisitionStart(void) { - T1GCONbits.T1GGO = 1; + T1GCONbits.T1GGO = 1U; } uint8_t TMR1_GateStateGet(void) @@ -166,14 +168,24 @@ uint8_t TMR1_GateStateGet(void) return (T1GCONbits.T1GVAL); } -void TMR1_TMRInterruptEnable(void) +void TMR1_OverflowInterruptEnable(void) { - PIE4bits.TMR1IE = 1; + PIE4bits.TMR1IE = 1U; } -void TMR1_TMRInterruptDisable(void) +void TMR1_OverflowInterruptDisable(void) { - PIE4bits.TMR1IE = 0; + PIE4bits.TMR1IE = 0U; +} + +bool TMR1_GateEventStatusGet(void) +{ + return (PIR5bits.TMR1GIF); +} + +void TMR1_GateEventStatusClear(void) +{ + PIR5bits.TMR1GIF = 0U; } void TMR1_OverflowISR(void) @@ -191,14 +203,26 @@ void TMR1_OverflowISR(void) } CountCallBack = 0; } - PIR4bits.TMR1IF = 0; + PIR4bits.TMR1IF = 0U; } +void TMR1_Tasks(void) +{ + if(1U == PIR5bits.TMR1GIF) + { + if(NULL != TMR1_GateCallback) + { + TMR1_GateCallback(); + } + PIR5bits.TMR1GIF = 0U; + } +} void TMR1_OverflowCallbackRegister(void (*CallbackHandler)(void)) { TMR1_OverflowCallback = CallbackHandler; } + void TMR1_GateCallbackRegister(void (*CallbackHandler)(void)) { TMR1_GateCallback = CallbackHandler; diff --git a/mcc_generated_files/timer/src/tmr2.c b/mcc_generated_files/timer/src/tmr2.c index ebd9181..38ff6e3 100644 --- a/mcc_generated_files/timer/src/tmr2.c +++ b/mcc_generated_files/timer/src/tmr2.c @@ -1,11 +1,11 @@ /** - * TMR2 Generated Timer Driver File + * TMR2 Generated Driver File * * @file tmr2.c * - * @ingroup timerdriver + * @ingroup tmr2 * - * @brief Driver implementation for the TMR2 Timer driver. + * @brief Driver implementation for the TMR2 module. * * @version Driver Version 4.0.0 * @@ -40,20 +40,6 @@ #include #include "../tmr2.h" -const struct TIMER_INTERFACE Timer2 = { - .Initialize = TMR2_Initialize, - .Deinitialize = TMR2_Deinitialize, - .Start = TMR2_Start, - .Stop = TMR2_Stop, - .PeriodSet = TMR2_PeriodSet, - .PeriodGet = TMR2_PeriodGet, - .CounterGet = TMR2_CounterGet, - .CounterSet = TMR2_CounterSet, - .MaxCountGet = TMR2_MaxCountGet, - .TimeoutCallbackRegister = TMR2_PeriodMatchCallbackRegister, - .Tasks = NULL -}; - static void (*TMR2_PeriodMatchCallback)(void); static void TMR2_DefaultPeriodMatchCallback(void); @@ -72,7 +58,7 @@ void TMR2_Initialize(void) T2RST = (0 << _T2RST_T2RSEL_POSN); // T2RSEL T2INPPS pin - T2PR = 0xF9; // Period 0.001s; Frequency 250000Hz; Count 249 + T2PR = 0xF9; // Period 0.001s; Frequency 250000Hz; Count 249 T2TMR = 0x0; @@ -111,29 +97,49 @@ void TMR2_Stop(void) T2CONbits.TMR2ON = 0; } -uint32_t TMR2_CounterGet(void) +void TMR2_ModeSet(TMR2_HLT_MODE mode) { - return (uint32_t)T2TMR; + T2HLTbits.T2MODE = mode; } -void TMR2_CounterSet(uint32_t count) +void TMR2_ExtResetSourceSet(TMR2_HLT_EXT_RESET_SOURCE reset) { - T2TMR = (uint8_t)count; + T2RSTbits.T2RSEL = reset; } -void TMR2_PeriodSet(uint32_t periodVal) +uint8_t TMR2_CounterGet(void) { - T2PR = (uint8_t)periodVal; + return T2TMR; } -uint32_t TMR2_PeriodGet(void) +void TMR2_CounterSet(uint8_t count) { - return (uint32_t)T2PR; + T2TMR = count; } -uint32_t TMR2_MaxCountGet(void) +void TMR2_PeriodSet(uint8_t periodVal) { - return (uint32_t)TMR2_MAX_COUNT; + T2PR = periodVal; +} + +uint8_t TMR2_PeriodGet(void) +{ + return T2PR; +} + +uint8_t TMR2_MaxCountGet(void) +{ + return TMR2_MAX_COUNT; +} + +void TMR2_TMRInterruptEnable(void) +{ + PIE4bits.TMR2IE = 1; +} + +void TMR2_TMRInterruptDisable(void) +{ + PIE4bits.TMR2IE = 0; } void TMR2_ISR(void) @@ -155,3 +161,5 @@ static void TMR2_DefaultPeriodMatchCallback(void) { // Default callback function } + + diff --git a/mcc_generated_files/timer/tmr1.h b/mcc_generated_files/timer/tmr1.h index 4c49a4d..07d956c 100644 --- a/mcc_generated_files/timer/tmr1.h +++ b/mcc_generated_files/timer/tmr1.h @@ -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 */ /* © [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. diff --git a/mcc_generated_files/timer/tmr1_deprecated.h b/mcc_generated_files/timer/tmr1_deprecated.h index a5cdbe1..71b0f86 100644 --- a/mcc_generated_files/timer/tmr1_deprecated.h +++ b/mcc_generated_files/timer/tmr1_deprecated.h @@ -7,9 +7,9 @@ * * @brief This file contains the deprecated macros or APIs 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 */ /* © [2025] Microchip Technology Inc. and its subsidiaries. @@ -113,5 +113,33 @@ */ /* cppcheck-suppress misra-c2012-2.5 */ #define TMR_SENSOR_StartSinglePulseAcquisition TMR1_SinglePulseAcquisitionStart +/** + * @ingroup tmr1 + * @brief Defines the Custom Name for the \ref TMR1_OverflowInterruptEnable API. + * The TMR1_TMRInterruptEnable will be deprecated in the future release. Use TMR1_OverflowStatusGet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR1_TMRInterruptEnable TMR1_OverflowInterruptEnable +/** + * @ingroup tmr1 + * @brief Defines the Custom Name for the \ref TMR1_OverflowInterruptEnable API. + * The TMR_SENSOR_TMRInterruptEnable will be deprecated in the future release. Use TMR_SENSOR_OverflowStatusGet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR_SENSOR_TMRInterruptEnable TMR1_OverflowInterruptEnable +/** + * @ingroup tmr1 + * @brief Defines the Custom Name for the \ref TMR1_OverflowInterruptDisable API. + * The TMR1_TMRInterruptDisable will be deprecated in the future release. Use TMR1_OverflowStatusGet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR1_TMRInterruptDisable TMR1_OverflowInterruptDisable +/** + * @ingroup tmr1 + * @brief Defines the Custom Name for the \ref TMR1_OverflowInterruptDisable API. + * The TMR_SENSOR_TMRInterruptDisable will be deprecated in the future release. Use TMR_SENSOR_OverflowStatusGet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR_SENSOR_TMRInterruptDisable TMR1_OverflowInterruptDisable #endif // TMR1_DEPRECATED_H \ No newline at end of file diff --git a/mcc_generated_files/timer/tmr2.h b/mcc_generated_files/timer/tmr2.h index 22843ea..5f8f4b5 100644 --- a/mcc_generated_files/timer/tmr2.h +++ b/mcc_generated_files/timer/tmr2.h @@ -1,11 +1,11 @@ /** - * TMR2 Generated Timer Driver API Header File + * TMR2 Generated Driver API Header File * * @file tmr2.h * - * @ingroup timerdriver + * @defgroup tmr2 TMR2 * - * @brief This file contains API prototypes and other data types for the TMR2 Timer driver. + * @brief This file contains API prototypes and other data types for the TMR2 driver. * * @version Driver Version 4.0.0 * @@ -38,7 +38,7 @@ #include #include -#include "timer_interface.h" +#include "tmr2_deprecated.h" /** * @misradeviation{@advisory,2.5} @@ -47,108 +47,316 @@ */ /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the TMR2 maximum count value. */ #define TMR2_MAX_COUNT (255U) /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the TMR2 prescaled clock frequency in hertz. */ /* cppcheck-suppress misra-c2012-2.5 */ #define TMR2_CLOCK_FREQ (250000UL) /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_MAX_COUNT. */ /* cppcheck-suppress misra-c2012-2.5 */ #define TIMER2_MAX_COUNT TMR2_MAX_COUNT /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_CLOCK_FREQ. */ /* cppcheck-suppress misra-c2012-2.5 */ #define TIMER2_CLOCK_FREQ TMR2_CLOCK_FREQ /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_Initialize API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_Initialize TMR2_Initialize /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_Deinitialize API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_Deinitialize TMR2_Deinitialize /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_Start API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_Start TMR2_Start /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_Stop API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_Stop TMR2_Stop /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_CounterGet API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_CounterGet TMR2_CounterGet /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_CounterSet API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_CounterSet TMR2_CounterSet /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_PeriodSet API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_PeriodSet TMR2_PeriodSet /** - * @ingroup timerdriver - * @brief Defines the Custom Name for the \ref TMR2_PeriodGet API. - */ -/* cppcheck-suppress misra-c2012-2.5 */ -#define Timer2_PeriodGet TMR2_PeriodGet -/** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_MaxCountGet API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_MaxCountGet TMR2_MaxCountGet /** - * @ingroup timerdriver + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_ModeSet API. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_ModeSet TMR2_ModeSet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_ExtResetSourceSet API. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_ExtResetSourceSet TMR2_ExtResetSourceSet +/** + * @ingroup tmr2 * @brief Defines the Custom Name for the \ref TMR2_PeriodMatchCallbackRegister API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_PeriodMatchCallbackRegister TMR2_PeriodMatchCallbackRegister /** - * @ingroup timerdriver - * @brief Defines the Custom Name for the \ref TMR2_ISR API + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_TMRInterruptEnable API. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_TMRInterruptEnable TMR2_TMRInterruptEnable +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_TMRInterruptDisable API. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_TMRInterruptDisable TMR2_TMRInterruptDisable +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_ISR API. */ /* cppcheck-suppress misra-c2012-2.5 */ #define Timer2_ISR TMR2_ISR /** - @ingroup timerdriver - @struct TIMER_INTERFACE - @brief This is an instance of TIMER_INTERFACE for the TMR2 module. + * @ingroup tmr2 + * @enum TMR2_HLT_EXT_RESET_SOURCE + * @brief Defines the several modes of timer's operation of the timer with the Hardware Limit Timer (HLT) extension. */ -extern const struct TIMER_INTERFACE Timer2; +typedef enum +{ + /* Roll-over Pulse mode clears the TMRx upon TMRx = PRx, then continue running. + ON bit must be set and is not affected by Resets + */ + + /* Roll-over Pulse mode indicates that Timer starts + immediately upon ON = 1 (Software Control) + */ + TMR2_ROP_STARTS_TMRON, + + /* Roll-over Pulse mode indicates that the Timer starts + when ON = 1 and TMRx_ers = 1. Stops when TMRx_ers = 0 + */ + TMR2_ROP_STARTS_TMRON_ERSHIGH, + + /* Roll-over Pulse mode indicates that the Timer starts + when ON = 1 and TMRx_ers = 0. Stops when TMRx_ers = 1 + */ + TMR2_ROP_STARTS_TMRON_ERSLOW, + + /* Roll-over Pulse mode indicates that the Timer resets + upon rising or falling edge of TMRx_ers + */ + TMR2_ROP_RESETS_ERSBOTHEDGE, + + /* Roll-over Pulse mode indicates that the Timer resets + upon rising edge of TMRx_ers + */ + TMR2_ROP_RESETS_ERSRISINGEDGE, + + /* Roll-over Pulse mode indicates that the Timer resets + upon falling edge of TMRx_ers + */ + TMR2_ROP_RESETS_ERSFALLINGEDGE, + + /* Roll-over Pulse mode indicates that the Timer resets + upon TMRx_ers = 0 + */ + TMR2_ROP_RESETS_ERSLOW, + + /* Roll-over Pulse mode indicates that the Timer resets + upon TMRx_ers = 1 + */ + TMR2_ROP_RESETS_ERSHIGH, + + /*In all One-Shot mode the timer resets and the ON bit is + cleared when the timer value matches the PRx period + value. The ON bit must be set by software to start + another timer cycle. + */ + + /* One shot mode indicates that the Timer starts + immediately upon ON = 1 (Software Control) + */ + TMR2_OS_STARTS_TMRON, + + /* One shot mode indicates that the Timer starts + when a rising edge is detected on the TMRx_ers + */ + TMR2_OS_STARTS_ERSRISINGEDGE , + + /* One shot mode indicates that the Timer starts + when a falling edge is detected on the TMRx_ers + */ + TMR2_OS_STARTS_ERSFALLINGEDGE , + + /* One shot mode indicates that the Timer starts + when either a rising or falling edge is detected on TMRx_ers + */ + TMR2_OS_STARTS_ERSBOTHEDGE, + + /* One shot mode indicates that the Timer starts + upon first TMRx_ers rising edge and resets on all + subsequent TMRx_ers rising edges + */ + TMR2_OS_STARTS_ERSFIRSTRISINGEDGE, + + /* One shot mode indicates that the Timer starts + upon first TMRx_ers falling edge and restarts on all + subsequent TMRx_ers falling edges + */ + TMR2_OS_STARTS_ERSFIRSTFALLINGEDGE, + + /* One shot mode indicates that the Timer starts + when a rising edge is detected on the TMRx_ers, + resets upon TMRx_ers = 0 + */ + TMR2_OS_STARTS_ERSRISINGEDGEDETECT, + /* One shot mode indicates that the Timer starts + when a falling edge is detected on the TMRx_ers, + resets upon TMRx_ers = 1 + */ + TMR2_OS_STARTS_ERSFALLINGEDGEDETECT, + + /* One shot mode indicates that the Timer starts + when a TMRx_ers = 1,ON =1 and resets upon TMRx_ers =0 + */ + TMR2_OS_STARTS_TMRON_ERSHIGH = 0x16, + + /* One shot mode indicates that the Timer starts + when a TMRx_ers = 0,ON = 1 and resets upon TMRx_ers =1 + */ + TMR2_OS_STARTS_TMRON_ERSLOW = 0x17, + + /*In all Mono-Stable mode the ON bit must be initially set,but + not cleared upon the TMRx = PRx, and the timer will start upon + an TMRx_ers start event following TMRx = PRx.*/ + + /* Mono Stable mode indicates that the Timer starts + when a rising edge is detected on the TMRx_ers and ON = 1 + */ + TMR2_MS_STARTS_TMRON_ERSRISINGEDGEDETECT = 0x11, + + /* Mono Stable mode indicates that the Timer starts + when a falling edge is detected on the TMRx_ers and ON = 1 + */ + TMR2_MS_STARTS_TMRON_ERSFALLINGEDGEDETECT = 0x12, + + /* Mono Stable mode indicates that the Timer starts + when either a rising or falling edge is detected on TMRx_ers + and ON = 1 + */ + TMR2_MS_STARTS_TMRON_ERSBOTHEDGE = 0x13 + +} TMR2_HLT_MODE; /** - * Section: TMR2 APIs + * @ingroup tmr2 + * @enum TMR2_HLT_EXT_RESET_SOURCE + * @brief Defines the different Reset sources of the HLT. */ +typedef enum +{ + /* + * T2INPPS_PIN as the Timer external reset source + */ + TMR2_T2INPPS_PIN = 0x0, + /* + * CCP1OUT as the Timer external reset source + */ + TMR2_CCP1OUT = 0x1, + /* + * CCP2OUT as the Timer external reset source + */ + TMR2_CCP2OUT = 0x2, + /* + * PWM3OUT as the Timer external reset source + */ + TMR2_PWM3OUT = 0x3, + /* + * PWM4OUT as the Timer external reset source + */ + TMR2_PWM4OUT = 0x4, + /* + * PWM5OUT as the Timer external reset source + */ + TMR2_PWM5OUT = 0x5, + /* + * PWM6OUT as the Timer external reset source + */ + TMR2_PWM6OUT = 0x6, + /* + * CMP1OUT as the Timer external reset source + */ + TMR2_CMP1OUT = 0x7, + /* + * CMP2OUT as the Timer external reset source + */ + TMR2_CMP2OUT = 0x8, + /* + * ZCDOUT as the Timer external reset source + */ + TMR2_ZCDOUT = 0x9, + /* + * CLC1OUT as the Timer external reset source + */ + TMR2_CLC1OUT = 0xa, + /* + * CLC2OUT as the Timer external reset source + */ + TMR2_CLC2OUT = 0xb, + /* + * CLC3OUT as the Timer external reset source + */ + TMR2_CLC3OUT = 0xc, + /* + * CLC4OUT as the Timer external reset source + */ + TMR2_CLC4OUT = 0xd +} TMR2_HLT_EXT_RESET_SOURCE; /** - * @ingroup timerdriver + Section: TMR2 APIs +*/ + +/** + * @ingroup tmr2 * @brief Initializes the Timer2 (TMR2) module. * This routine must be called before any other TMR2 routines. * @param None. @@ -157,7 +365,7 @@ extern const struct TIMER_INTERFACE Timer2; void TMR2_Initialize(void); /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Deinitializes the TMR2 to Power-on Reset (POR) values. * @param None. * @return None. @@ -165,7 +373,7 @@ void TMR2_Initialize(void); void TMR2_Deinitialize(void); /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Starts the TMR2 timer. * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. * @param None. @@ -174,7 +382,7 @@ void TMR2_Deinitialize(void); void TMR2_Start(void); /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Stops the TMR2 timer. * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. * @param None. @@ -183,59 +391,93 @@ void TMR2_Start(void); void TMR2_Stop(void); /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Returns the current counter value. * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. * @param None. - * @return Counter value from the T2TMR register + * @return Current counter value */ -uint32_t TMR2_CounterGet(void); +uint8_t TMR2_CounterGet(void); /** - * @ingroup timerdriver - * @brief Sets the counter value. + * @ingroup tmr2 + * @brief Sets the counter value for the TMR2 timer. * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. * @param count - Counter value to be written to the T2TMR register * @return None. */ -void TMR2_CounterSet(uint32_t count); +void TMR2_CounterSet(uint8_t count); /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Sets the period count value. * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. * @param periodVal - Period count value to be written to the T2PR register * @return None. */ -void TMR2_PeriodSet(uint32_t periodVal); +void TMR2_PeriodSet(uint8_t periodVal); /** - * @ingroup timerdriver - * @brief Returns the current period value. + * @ingroup tmr2 + * @brief Returns the current period count value. * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. * @param None. - * @return Period count value + * @return Period count value from the T2PR register */ -uint32_t TMR2_PeriodGet(void); +uint8_t TMR2_PeriodGet(void); /** - * @ingroup timerdriver - * @brief Returns the maximum count value of the timer. + * @ingroup tmr2 + * @brief Returns the TMR2 maximum count value. * @param None. * @return Maximum count value of the timer */ -uint32_t TMR2_MaxCountGet(void); +uint8_t TMR2_MaxCountGet(void); /** - * @ingroup timerdriver - * @brief Interrupt Service Routine (ISR) for the TMR2 period match event. + * @ingroup tmr2 + * @brief Sets the HLT mode. + * @pre Initialize TMR2 with TMR2_Initialize() after calling this API. + * @param mode - Value to be written to the T2HLTbits.MODE bits + * @return None. + */ +void TMR2_ModeSet(TMR2_HLT_MODE mode); + +/** + * @ingroup tmr2 + * @brief Sets the HLT External Reset source. + * @pre Initialize TMR2 with TMR2_Initialize() before calling this API. + * @param reset - Value to be written to the T2RSTbits.RSEL bits + * @return None. + */ +void TMR2_ExtResetSourceSet(TMR2_HLT_EXT_RESET_SOURCE reset); + +/** + * @ingroup tmr2 + * @brief Enables the TMR2 interrupt. + * @param None. + * @return None. + */ +void TMR2_TMRInterruptEnable(void); + +/** + * @ingroup tmr2 + * @brief Disables the TMR2 interrupt. + * @param None. + * @return None. + */ +void TMR2_TMRInterruptDisable(void); + +/** + * @ingroup tmr2 + * @brief Interrupt Service Routine (ISR) for the TMR2 period match interrupt. * @param None. * @return None. */ void TMR2_ISR(void); /** - * @ingroup timerdriver + * @ingroup tmr2 * @brief Registers a callback function for the TMR2 period match event. * @param CallbackHandler - Address of the custom callback function * @return None. diff --git a/mcc_generated_files/timer/tmr2_deprecated.h b/mcc_generated_files/timer/tmr2_deprecated.h new file mode 100644 index 0000000..1d39ece --- /dev/null +++ b/mcc_generated_files/timer/tmr2_deprecated.h @@ -0,0 +1,107 @@ +/** + * TMR2 Generated Driver API Header File + * + * @file tmr2.h + * + * @defgroup tmr2 TMR2 + * + * @brief This file contains deprecated macros or functions for the TMR2 driver. + * + * @version Driver Version 4.0.0 + * + * @version Package Version 5.0.0 + */ + +/* +© [2025] Microchip Technology Inc. and its subsidiaries. + + Subject to your compliance with these terms, you may use Microchip + software and any derivatives exclusively with Microchip products. + You are responsible for complying with 3rd party license terms + applicable to your use of 3rd party software (including open source + software) that may accompany Microchip software. SOFTWARE IS ?AS IS.? + NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS + SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, + MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT + WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, + INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY + KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF + MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE + FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP?S + TOTAL LIABILITY ON ALL CLAIMS RELATED TO THE SOFTWARE WILL NOT + EXCEED AMOUNT OF FEES, IF ANY, YOU PAID DIRECTLY TO MICROCHIP FOR + THIS SOFTWARE. +*/ + +#ifndef TMR2_DEPRECATED_H +#define TMR2_DEPRECATED_H + +#warning "The tmr2_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative." + +/** + * @misradeviation{@advisory,2.5} + * MCC Melody drivers provide macros that can be added to an application. + * It depends on the application whether a macro is used or not. + */ + +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_CounterGet API. + * The TMR2_Read will be deprecated in the future release. Use TMR2_CounterGet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR2_Read TMR2_CounterGet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_CounterGet API. + * The Timer2_Read will be deprecated in the future release. Use Timer2_CounterGet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_Read TMR2_CounterGet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_CounterSet API. + * The TMR2_Write will be deprecated in the future release. Use TMR2_CounterSet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR2_Write TMR2_CounterSet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_CounterSet API. + * The Timer2_Write will be deprecated in the future release. Use Timer2_CounterSet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_Write TMR2_CounterSet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_PeriodSet API. + * The TMR2_PeriodCountSet will be deprecated in the future release. Use TMR2_PeriodSet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR2_PeriodCountSet TMR2_PeriodSet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_PeriodSet API. + * The Timer2_PeriodCountSet will be deprecated in the future release. Use Timer2_PeriodSet instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_PeriodCountSet TMR2_PeriodSet +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_PeriodMatchCallbackRegister API. + * The TMR2_OverflowCallbackRegister will be deprecated in the future release. Use TMR2_PeriodMatchCallbackRegister instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define TMR2_OverflowCallbackRegister TMR2_PeriodMatchCallbackRegister +/** + * @ingroup tmr2 + * @brief Defines the Custom Name for the \ref TMR2_PeriodMatchCallbackRegister API. + * The Timer2_OverflowCallbackRegister will be deprecated in the future release. Use Timer2_PeriodMatchCallbackRegister instead. + */ +/* cppcheck-suppress misra-c2012-2.5 */ +#define Timer2_OverflowCallbackRegister TMR2_PeriodMatchCallbackRegister + +#endif // TMR2_DEPRECATED_H +/** + End of File +*/ diff --git a/mcc_generated_files/uart/eusart1.h b/mcc_generated_files/uart/eusart1.h index d639c53..c525cad 100644 --- a/mcc_generated_files/uart/eusart1.h +++ b/mcc_generated_files/uart/eusart1.h @@ -7,7 +7,7 @@ * * @brief This file contains API prototypes and other datatypes for the Enhanced Universal Synchronous and Asynchronous Receiver Transceiver (EUSART) module. * - * @version EUSART1 Driver Version 3.0.1 + * @version EUSART1 Driver Version 3.0.2 */ /* © [2025] Microchip Technology Inc. and its subsidiaries. @@ -36,13 +36,6 @@ #include #include -/** - @ingroup eusart1 - @def Standard Input Output functions - @misradeviation{@required, 21.6} This inclusion is essential for UART module to use Printf function for print the character. -*/ -/* cppcheck-suppress misra-c2012-21.6 */ -#include #include "../system/system.h" #include "uart_drv_interface.h" @@ -89,6 +82,11 @@ @struct eusart1_status_t @brief This is a structure defined for errors in reception of data. */ + /** + * @misradeviation{@advisory,19.2} + * The UART error status necessitates checking the bitfield and accessing the status within the group byte therefore the use of a union is essential. + */ + /* cppcheck-suppress misra-c2012-19.2 */ typedef union { struct { uint8_t perr : 1; /**mcc_generated_files/timer/tmr1.h mcc_generated_files/timer/tmr1_deprecated.h mcc_generated_files/timer/tmr0_deprecated.h + mcc_generated_files/timer/tmr2_deprecated.h mcc_generated_files/uart/eusart1.h @@ -43,6 +44,7 @@ projectFiles="true"> Makefile test_pcb.mc3 + pw-module.mc3 proto.c - - rs485 - Makefile @@ -231,7 +230,6 @@ - @@ -1284,6 +1282,8 @@ + + diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml index 284eeec..551d2e2 100644 --- a/nbproject/private/private.xml +++ b/nbproject/private/private.xml @@ -2,6 +2,17 @@ - + + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/pwm/src/pwm3.c + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/pwm/src/pwm4.c + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/timer/src/tmr1.c + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/adc/src/adc.c + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/main.c + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/pwm/pwm4.h + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/adc/adc.h + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/timer/tmr1.h + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/pwm/pwm3.h + file:/home/lefake/NAS/1%20-%20Personnal/1%20-%20Projects/plant_watcher/pw-module.X/mcc_generated_files/timer/tmr0.h + diff --git a/nbproject/project.xml b/nbproject/project.xml index f5d5357..b8a86d9 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -8,9 +8,7 @@ 0 ISO-8859-1 - - rs485 - + default diff --git a/pw-module.mc3 b/pw-module.mc3 new file mode 100644 index 0000000..727dedf --- /dev/null +++ b/pw-module.mc3 @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ADC + class com.microchip.mcc.melody.hw.module.HardwareModule + + + Application Builder + class com.microchip.mcc.melody.module.FrameworkModule + + + CLOCK CONTROL + class com.microchip.mcc.melody.hw.module.HardwareModule + + + Configuration Bits + class com.microchip.mcc.melody.hw.module.HardwareModule + + + EUSART1 + class com.microchip.mcc.melody.hw.module.HardwareModule + + + INTERRUPT MANAGER + class com.microchip.mcc.melody.hw.module.HardwareModule + + + MAIN MANAGER + class com.microchip.mcc.melody.hw.module.HardwareModule + + + PWM3 + class com.microchip.mcc.melody.hw.module.HardwareModule + + + PWM4 + class com.microchip.mcc.melody.hw.module.HardwareModule + + + Pin Manager + class com.microchip.mcc.melody.hw.module.HardwareModule + + + TMR0 + class com.microchip.mcc.melody.hw.module.HardwareModule + + + TMR1 + class com.microchip.mcc.melody.hw.module.HardwareModule + + + TMR2 + class com.microchip.mcc.melody.hw.module.HardwareModule + + + meta + class com.microchip.mcc.melody.hw.module.HardwareModule + + + module0 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module1 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module16 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module2 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module26 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module28 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module3 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module4 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module5 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module54 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module55 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module6 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module8 + class com.microchip.mcc.melody.script.module.ScriptModule + + + module9 + class com.microchip.mcc.melody.script.module.ScriptModule + + + + + + + + + {} + + + + {"userAddedModules":["module5","module4","module6","module9","module8","module28","module16","module26","module1","module0","module3","module2","module54","module55"],"version":"CURRENT","modules":{"module5":{"scriptId":"@mchp-mcc/scf-pic8-osc-v1","imports":{"sys_init_basic_interface":{"interfaceId":{"name":"sys-init-basic-interface","version":"^1"},"handle":{"providerId":"module1","exportId":"sys_init_basic_interface"}},"pins_interface":{"interfaceId":{"name":"pins-interface","version":"^1"},"handle":{"providerId":"module3","exportId":"pins-interface"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"configbits_basic_interface":{"interfaceId":{"name":"configbits-basic-interface","version":"^1"},"handle":{"providerId":"module1","exportId":"configbits_basic_interface"}},"scf_pic8_osc_v1":{"interfaceId":{"name":"scf-pic8-osc-v1","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"CLOCK CONTROL"}},"config_device":{"interfaceId":{"name":"config-device","version":"^1"},"handle":{"providerId":"module1","exportId":"config_device"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{}},"module4":{"scriptId":"@mchp-mcc/scf-pic8-interrupt-v2","imports":{"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"scf_pic8_interrupt_v2":{"interfaceId":{"name":"scf-pic8-interrupt-v2","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"INTERRUPT MANAGER"}},"initializer_main":{"interfaceId":{"name":"initializer-main","version":"^0"},"handle":{"providerId":"module0","exportId":"initializer_main"}},"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{}},"module6":{"scriptId":"@mchp-mcc/scf-pic8-tmr0-v1","imports":{"sys_init_basic_interface":{"interfaceId":{"name":"sys-init-basic-interface","version":"^1"},"handle":{"providerId":"module1","exportId":"sys_init_basic_interface"}},"pins_interface":{"interfaceId":{"name":"pins-interface","version":"^1"},"handle":{"providerId":"module3","exportId":"pins-interface"}},"clock_basic_interface":{"interfaceId":{"name":"clock-basic-interface","version":"^1"},"handle":{"providerId":"module5","exportId":"clock_basic_interface"}},"scf_pic8_tmr0_v1":{"interfaceId":{"name":"scf-pic8-tmr0-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"TMR0"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"software":{"componentName":"TMR_TX"},"hardware":{"t0csT0con1":"T0CKI_PIN","t0ckpsT0con1":"1:1","requestedPeriod":{"value":10.0,"unit":"ms"},"clockFrequency2":{"value":10.0,"unit":"kHz"}},"interrupt":{"tmri":true,"callbackFuncRate":"1"}}}},"module9":{"scriptId":"@mchp-mcc/scf-pic8-tmr2-v1","imports":{"sys_init_basic_interface":{"interfaceId":{"name":"sys-init-basic-interface","version":"^1"},"handle":{"providerId":"module1","exportId":"sys_init_basic_interface"}},"pins_interface":{"interfaceId":{"name":"pins-interface","version":"^1"},"handle":{"providerId":"module3","exportId":"pins-interface"}},"clock_basic_interface":{"interfaceId":{"name":"clock-basic-interface","version":"^1"},"handle":{"providerId":"module5","exportId":"clock_basic_interface"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"scf_pic8_tmr2_v1":{"interfaceId":{"name":"scf-pic8-tmr2-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"TMR2"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"interrupt":{"tmri":true,"tmriIsr":false},"timerClock":{"tcsTclkcon":"FOSC/4","tckpsTcon":"1:32"},"timerPeriod":{"requestedTimerPeriod":{"value":1.0,"unit":"ms"}}}}},"module8":{"scriptId":"@mchp-mcc/scf-pic8-eusart-v1","imports":{"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}},"scf_pic8_eusart_v1":{"interfaceId":{"name":"scf-pic8-eusart-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"EUSART1"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{}},"module28":{"scriptId":"@mchp-mcc/scf-pic8-pwm-v2","imports":{"Timer":{"interfaceId":{"name":"timer-2-4-6-general-parameters","version":"^0"},"handle":{"providerId":"module9","exportId":"timer_2_4_6_general_params"}},"pins_interface":{"interfaceId":{"name":"pins-interface","version":"^1.*"},"handle":{"providerId":"module3","exportId":"pins-interface"}},"scf_pic8_pwm_v2":{"interfaceId":{"name":"scf-pic8-pwm-v2","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"PWM4"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1.*"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{}},"module16":{"scriptId":"@mchp-mcc/scf-pic8-tmr1-v1","imports":{"sys_init_basic_interface":{"interfaceId":{"name":"sys-init-basic-interface","version":"^1"},"handle":{"providerId":"module1","exportId":"sys_init_basic_interface"}},"pins_interface":{"interfaceId":{"name":"pins-interface","version":"^1"},"handle":{"providerId":"module3","exportId":"pins-interface"}},"clock_basic_interface":{"interfaceId":{"name":"clock-basic-interface","version":"^1"},"handle":{"providerId":"module5","exportId":"clock_basic_interface"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"scf_pic8_tmr1_v1":{"interfaceId":{"name":"scf-pic8-tmr1-v1","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"TMR1"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"timerClock":{"tmrcsTclk":"LFINTOSC"},"interrupt":{"tmri":true,"callbackFuncRateIn":5.0},"timerPeriod":{"requestedPeriod":{"value":100.0,"unit":"ms"}},"software":{"componentName":"TMR_SENSOR"}}}},"module26":{"scriptId":"@mchp-mcc/scf-pic8-pwm-v2","imports":{"Timer":{"interfaceId":{"name":"timer-2-4-6-general-parameters","version":"^0"},"handle":{"providerId":"module9","exportId":"timer_2_4_6_general_params","label":"TMR2"}},"pins_interface":{"interfaceId":{"name":"pins-interface","version":"^1.*"},"handle":{"providerId":"module3","exportId":"pins-interface"}},"scf_pic8_pwm_v2":{"interfaceId":{"name":"scf-pic8-pwm-v2","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"PWM3"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1.*"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":["Timer"]},"payload":{"main":{"hardware":{"dutyCycle":50.0}}}},"module1":{"scriptId":"@mchp-mcc/pic16-configuration-bits-v3","imports":{"device_meta":{"interfaceId":{"name":"device-meta","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"pic16_configuration_bits_v3":{"interfaceId":{"name":"pic16-configuration-bits-v3","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"Configuration Bits"}},"initializer_main":{"interfaceId":{"name":"initializer-main","version":"^0"},"handle":{"providerId":"module0","exportId":"initializer_main"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"CONFIG1":{"fextoscConfig1":"Oscillator not enabled","rstoscConfig1":"LFINTOSC"}}}},"module0":{"scriptId":"@mchp-mcc/main-manager","imports":{"main":{"interfaceId":{"name":"main-manager","version":"^1.*"},"handle":{"providerId":"mccDevice","exportId":"MAIN MANAGER"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{}},"module3":{"scriptId":"@mchp-mcc/pin-content-processor","imports":{"device-meta":{"interfaceId":{"name":"device-meta","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"pin-architecture":{"interfaceId":{"name":"pin-architecture","version":"1.0.0"},"handle":{"providerId":"module2","exportId":"pin-architecture"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"saved":{"meta":{"module":"module1"},"rows":{"module54":{"ADC$ANx$input":{"pins":{"RC0":{"state":"L"},"RA0":{"state":"UL"}}}},"module26":{"PWM3$PWM3OUT$output":{"pins":{"RA4":{"state":"L"}}}},"module28":{"PWM4$PWM4OUT$output":{"pins":{"RA5":{"state":"L"}}}},"module8":{"EUSART1$TX1$output":{"pins":{"RC4":{"state":"UL"},"RC5":{"state":"L"}}}},"pcp":{"GPIO$GPIO$input":{"pins":{"RC3":{"state":"MUL"},"RA2":{"state":"MUL"}}},"GPIO$GPIO$output":{"pins":{"RC3":{"state":"L"},"RA2":{"state":"L"}}}}},"userEditedData":{"inputPPSState":{"module6":{"TMR0":{"T0CKI":""}},"module8":{"EUSART1":{"RX1":"RC4"}}},"cname":{"eview":{"RA2":"DEBUG","RA4":"LED1","RA5":"LED2","RC3":"RS_MODE"}}}}}},"module2":{"scriptId":"@mchp-mcc/pic16-pin-manager","imports":{"pic16-pin-manager":{"interfaceId":{"name":"pic16-pin-manager","version":"1.0.0"},"handle":{"providerId":"mccDevice","exportId":"Pin Manager"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0.*"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"adapterdata":{"pps":{"data":{"TMR":{"T0CKI":""},"TMR0":{"T0CKI":""},"EUSART":{"RX1":"RC4"},"EUSART1":{"RX1":"RC4"}},"users":{"module6":{"mod_name":"TMR0"},"module8":{"mod_name":"EUSART1"}}},"cname":{"eview":{"dataMap":{"RA2":{"value":"DEBUG"},"RA4":{"value":"LED1"},"RA5":{"value":"LED2"},"RC3":{"value":"RS_MODE"}}}}}}},"module54":{"scriptId":"@mchp-mcc/scf-pic8-adc-v1","imports":{"scf_pic8_adc_v1":{"interfaceId":{"name":"scf-pic8-adc-v1","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"ADC"}},"pin_standard":{"interfaceId":{"name":"pin-standard","version":"^0"},"handle":{"providerId":"module3","exportId":"pin-standard"}},"interrupt_standard":{"interfaceId":{"name":"interrupt-standard","version":"^1"},"handle":{"providerId":"module4","exportId":"interrupt"}},"device_meta":{"interfaceId":{"name":"device-meta","version":"^1"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"osc_clocks":{"interfaceId":{"name":"osc-clocks","version":"^0"},"handle":{"providerId":"module5","exportId":"osc_clocks"}},"initializer_system":{"interfaceId":{"name":"initializer-system","version":"^0"},"handle":{"providerId":"module1","exportId":"initializer_system"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{"main":{"software":{"anxattribspinkey1":{"RC0":{"cname":"IO_RC0"}}},"hardware":{"adfmAdcon1":"right","chsAdcon0":"ANC0"},"adcClock":{"clockSource":"FOSC/64"}}}},"module55":{"scriptId":"@mchp-mcc/uart-driver","imports":{"device_meta":{"interfaceId":{"name":"device-meta","version":"^1.0.0"},"handle":{"providerId":"mccDevice","exportId":"meta"}},"uart_basic":{"interfaceId":{"name":"uart-basic","version":"^6.0.0"},"handle":{"providerId":"module8","exportId":"uart_basic"}}},"framewSpecificState":{"userEditedImports":[]},"payload":{}}},"content":{"@mchp-mcc/pic-8bit":"5.29.0","@mchp-mcc/pic16-pin-manager":"3.6.1","@mchp-mcc/pin-content-processor":"3.9.0","@mchp-mcc/pic16-configuration-bits-v3":"1.0.5","@mchp-mcc/scf-pic8-pwm-v2":"4.2.12","@mchp-mcc/scf-pic8-eusart-v1":"7.1.7","@mchp-mcc/scf-pic8-tmr0-v1":"5.0.0","@mchp-mcc/scf-pic8-interrupt-v2":"5.2.12","@mchp-mcc/uart-driver":"1.10.2","@mchp-mcc/scf-pic8-tmr2-v1":"5.0.0","@mchp-mcc/scf-pic8-adc-v1":"3.0.10","@mchp-mcc/scf-pic8-tmr1-v1":"5.1.0","@mchp-mcc/scf-pic8-osc-v1":"4.3.7","@mchp-mcc/main-manager":"3.1.2"}} + + + + + main.c + a97ddcf9a3eb5f6919409e489fd471a0b05bb5eb31d9a10305037b72f480341b + + + mcc_generated_files/adc/adc.h + d1b3931f479d449f4c3790719622a57d1030b545b6e4e848e35f66552c04d182 + + + mcc_generated_files/adc/src/adc.c + 3c5695514d0265296927d104005e1c1e93fee746a0d441e0b33ec2752d099636 + + + mcc_generated_files/pwm/pwm3.h + 37d6f16e80bbfa6659a7f93b538c9a67350febb6d467f30f8c17e9d87891ca77 + + + mcc_generated_files/pwm/pwm4.h + d0575e29a5ad7934a7d0a52707edc9ecb8ab646a74888ef5c27605384ea1fd76 + + + mcc_generated_files/pwm/src/pwm3.c + 420562057c69154294343781a863a9b78978f13f6b38bd53fd5ad1057c70cd99 + + + mcc_generated_files/pwm/src/pwm4.c + 9e3df26faadabd18a3bb4e3e88c5d283cd49b351acf70dcd662ac3282e943641 + + + mcc_generated_files/system/clock.h + 1c9c8fd041c7d81c3092c47c128a15979685ea21a747f5426bf1d3d69782fde7 + + + mcc_generated_files/system/config_bits.h + d7e88ac192af118c0dc6b8a23ba027be14d0d904f3ba6cb9f58a3cda71225589 + + + mcc_generated_files/system/interrupt.h + 477a9214738c8484d34461b20b27f0f09ff56e2440b1a9476765b0c3342c7ca9 + + + mcc_generated_files/system/pins.h + 44480172da61b2584d4d14c7b5de19e477479d77c894081a1fb4daf547f327df + + + mcc_generated_files/system/src/clock.c + 4b7f0dd0689f75908f756a020f66bf75d2dd80f6cfc2ebf7adddeab7b72e4349 + + + mcc_generated_files/system/src/config_bits.c + 635e23c892c998572f5f88c1dba94d856527a3258ac373f26ae39750c4c9e3bb + + + mcc_generated_files/system/src/interrupt.c + 4e3a82c5c6dbadc2cf05eea3904bbfb2206d00c16c229e4bcf503813a5346d36 + + + mcc_generated_files/system/src/pins.c + 75911428b20fa5ac604e404c38b4ad89ab4777ff7e422ce42bc7cc933467b0a1 + + + mcc_generated_files/system/src/system.c + a9edd9c2fe8ebe9355af8d5fe1bea9e9a12249fd3902d81275ba78fee507eb52 + + + mcc_generated_files/system/system.h + 956308999dd720278c5ba09799203ff5810572626ab398118f9e3d9fccec4538 + + + mcc_generated_files/timer/src/tmr0.c + 640093010d27935272692ff904b3228e9b2833e4e55a8aaab2da2802d961bcb2 + + + mcc_generated_files/timer/src/tmr1.c + 4d0a24b351e201e507093b644315868d9b1f6799696f36c9dd45048f6e25fd41 + + + mcc_generated_files/timer/src/tmr2.c + b1b3954caf7dd0cf4ef6199bba39910d041b49061e53235752f30f7de0eb29e7 + + + mcc_generated_files/timer/tmr0.h + ecaec06f6fed0ba3582a2669cc47a236f90e889a39c7b091233c8fb9ea072eb9 + + + mcc_generated_files/timer/tmr0_deprecated.h + dbf6c2c28974e3644e34e6374a928b6aea5bd88448178eab62ef53bbc72dcb09 + + + mcc_generated_files/timer/tmr1.h + a67acaee828cf0f1c335fab278910edca982b18e3f38ed98e849b1d222c9d005 + + + mcc_generated_files/timer/tmr1_deprecated.h + 333098ccd2e40fd4fc6edfd7a82955fd12ea748a82803e6a735417d99fd269ef + + + mcc_generated_files/timer/tmr2.h + eb342eb211df4f413d6ee9fb985788e4f4ff78ac9b8075580cc3513f70f80148 + + + mcc_generated_files/timer/tmr2_deprecated.h + 609a7754d10deb3757c402cabcb5e03a9d5a8e4f17489075b75f72b5b765ba66 + + + mcc_generated_files/uart/eusart1.h + 94b5bb786f043e660ab683dc8765cc3ec487af8aa30975a0eee20d253b52370d + + + mcc_generated_files/uart/src/eusart1.c + 43f5140545068f49c5a636e458737c66f15d2408749a6983ed231210233cf9f1 + + + mcc_generated_files/uart/uart_drv_interface.h + ab6bbc0594c6082415c06749b484bd94d46a2c228d4e677348afd5561f975768 + + + mcc_generated_files/uart/uart_types.h + 7f0bd2a38d8d1b14867d495c9fbc33a472f7bc8d8f676c105caaa2ac1ed8db18 + + + \ No newline at end of file