Skip to content

Commit 2942261

Browse files
Mori Adrian Roslandegilro
authored andcommitted
MPAE-15912: MCC and tool updates
Merge in EBE/avr128db48-constant-current-driver-using-opamp-mplab-mcc from feature/update_repo to develop
1 parent 7294080 commit 2942261

File tree

29 files changed

+498
-337
lines changed

29 files changed

+498
-337
lines changed

.main-meta/main.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@
44
"content": {
55
"metaDataVersion": "1.3.0",
66
"name": "com.microchip.mcu8.mplabx.project.avr128db48-constant-current-driver-using-opamp-mplab-mcc",
7-
"version": "2.1.0",
7+
"version": "2.1.1",
88
"displayName": "Constant-Current Driver Using the Analog Signal Conditioning (OPAMP) Peripheral",
99
"projectName": "avr128db48-constant-current-driver-using-opamp-mplab-mcc",
1010
"shortDescription": "This MPLAB X Melody example shows how to use the Analog Signal Conditioning (OPAMP) peripheral to implement a constant-current driver using just one external resistor. The constant current amperage setting can be adjusted using firmware control.",
1111
"ide": {
1212
"name": "MPLAB X",
13-
"semverRange": ">=5.50.0"
13+
"semverRange": ">=6.10.0"
1414
},
1515
"compiler": [
1616
{
1717
"name": "XC8",
18-
"semverRange": "^2.32.0"
18+
"semverRange": "^2.41.0"
1919
}
2020
],
2121
"dfp": {
2222
"name": "AVR-Dx_DFP",
23-
"semverRange": "^1.7.98"
23+
"semverRange": "^2.3.272"
2424
},
2525
"configurator": {
2626
"name": "MCC",
27-
"semverRange": ">=4.1.0"
27+
"semverRange": ">=5.3.7"
2828
},
2929
"device": {
3030
"metaDataVersion": "1.0.0",
@@ -65,4 +65,4 @@
6565
}
6666
}
6767
}
68-
}
68+
}

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/avr128db48-constant-current-driver-using-opamp-mplab-mcc.mc3

Lines changed: 36 additions & 36 deletions
Large diffs are not rendered by default.

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
/*
14-
� [2022] Microchip Technology Inc. and its subsidiaries.
14+
© [2023] Microchip Technology Inc. and its subsidiaries.
1515
1616
Subject to your compliance with these terms, you may use Microchip
1717
software and any derivatives exclusively with Microchip products.
@@ -44,4 +44,4 @@ int main(void)
4444
while(1)
4545
{
4646
}
47-
}
47+
}

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/opamp/opamp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @version OPAMP Driver Version 1.0.0
1111
*/
1212
/*
13-
© [2022] Microchip Technology Inc. and its subsidiaries.
13+
© [2023] Microchip Technology Inc. and its subsidiaries.
1414
1515
Subject to your compliance with these terms, you may use Microchip
1616
software and any derivatives exclusively with Microchip products.

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/opamp/src/opamp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @version OPAMP Driver Version 1.0.0
1111
*/
1212
/*
13-
© [2022] Microchip Technology Inc. and its subsidiaries.
13+
© [2023] Microchip Technology Inc. and its subsidiaries.
1414
1515
Subject to your compliance with these terms, you may use Microchip
1616
software and any derivatives exclusively with Microchip products.

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/system/ccp.h

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
/**
2-
@Company
3-
Microchip Technology Inc.
4-
5-
@Description
6-
This Source file provides APIs.
7-
Generation Information :
8-
Driver Version : 1.0.0
2+
* CCP Header File
3+
*
4+
* @file ccp.h
5+
*
6+
* @ingroup config_bitsdriver
7+
*
8+
* @brief This file contains the Configuration Change Protection (CCP) header file for the Configuration bits driver.
9+
*
10+
* @version Driver Version 1.0.0
911
*/
1012
/*
11-
© [2022] Microchip Technology Inc. and its subsidiaries.
13+
© [2023] Microchip Technology Inc. and its subsidiaries.
1214
1315
Subject to your compliance with these terms, you may use Microchip
1416
software and any derivatives exclusively with Microchip products.
@@ -40,39 +42,29 @@ extern "C" {
4042
#endif
4143

4244
/**
43-
* \brief Write to a CCP-protected 8-bit I/O register
44-
*
45-
* \param addr Address of the I/O register
46-
* \param value Value to be written
47-
*
48-
* \note Using IAR Embedded workbench, the choice of memory model has an impact
49-
* on calling convention. The memory model is not visible to the
50-
* preprocessor, so it must be defined in the Assembler preprocessor directives.
45+
* @brief Writes to a CCP-protected 8-bit I/O register.
46+
* @param addr Address of the I/O register.
47+
* @param value Value to be written.
48+
* NOTE: Using IAR Embedded workbench, the choice of memory model has an impact on calling convention.
49+
* Memory model must be defined in the Assembler preprocessor directives to be visible to the preprocessor.
5150
*/
5251
static inline void ccp_write_io(void *addr, uint8_t value)
5352
{
5453
protected_write_io(addr, CCP_IOREG_gc, value);
5554
}
5655

57-
/** @} */
58-
5956
/**
60-
* \brief Write to CCP-protected 8-bit SPM register
61-
*
62-
* \param addr Address of the SPM register
63-
* \param value Value to be written
64-
*
65-
* \note Using IAR Embedded workbench, the choice of memory model has an impact
66-
* on calling convention. The memory model is not visible to the
67-
* preprocessor, so it must be defined in the Assembler preprocessor directives.
57+
* @brief Writes to a CCP-protected 8-bit SPM register.
58+
* @param addr Address of the SPM register.
59+
* @param value Value to be written.
60+
* NOTE: Using IAR Embedded workbench, the choice of memory model has an impacton calling convention.
61+
* Memory model must be defined in the Assembler preprocessor directives to be visible to the preprocessor.
6862
*/
6963
static inline void ccp_write_spm(void *addr, uint8_t value)
7064
{
7165
protected_write_io(addr, CCP_SPM_gc, value);
7266
}
7367

74-
/** @} */
75-
7668
#ifdef __cplusplus
7769
}
7870
#endif

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/system/clock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @version CLKCTRL Driver Version 1.0.2
1111
*/
1212
/*
13-
© [2022] Microchip Technology Inc. and its subsidiaries.
13+
© [2023] Microchip Technology Inc. and its subsidiaries.
1414
1515
Subject to your compliance with these terms, you may use Microchip
1616
software and any derivatives exclusively with Microchip products.

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/system/config_bits.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
*
44
* @file config_bits.h
55
*
6-
* @defgroup config_bitsdriver CONFIGBITS Driver
6+
* @defgroup config_bitsdriver Configuration Bits Driver
77
*
8-
* @brief This is the generated header file for the CONFIGURATION BITS.
8+
* @brief This file contains the generated header file for the Configuration bits driver.
99
*
1010
* @version Driver Version 1.0.0
1111
*/
12-
12+
1313
/*
14-
© [2022] Microchip Technology Inc. and its subsidiaries.
14+
© [2023] Microchip Technology Inc. and its subsidiaries.
1515
1616
Subject to your compliance with these terms, you may use Microchip
1717
software and any derivatives exclusively with Microchip products.
@@ -34,9 +34,6 @@
3434
#ifndef CONFIG_BITS_H
3535
#define CONFIG_BITS_H
3636

37-
/**
38-
Section: Included Files
39-
*/
4037
#include "../system/clock.h"
4138

4239
#endif //CONFIG_BITS_H

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/system/interrupt.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/**
2-
* Interrupt Manager Generated Driver API Header File
2+
* Interrupt Manager Generated Driver API Header File.
33
*
44
* @file interrupt.h
55
*
66
* @defgroup interrupt INTERRUPT
77
*
8-
* @brief This file contains API prototypes and other datatypes for the Interrupt Manager.
8+
* @brief This file contains the API prototype for the Interrupt Manager.
99
*
1010
* @version Interrupt Manager Driver Version 1.0.0
1111
*/
1212

1313
/*
14-
© [2022] Microchip Technology Inc. and its subsidiaries.
14+
© [2023] Microchip Technology Inc. and its subsidiaries.
1515
1616
Subject to your compliance with these terms, you may use Microchip
1717
software and any derivatives exclusively with Microchip products.
@@ -45,9 +45,8 @@ extern "C" {
4545

4646
/**
4747
* @ingroup interrupt
48-
* @brief This API initializes and configures the Interrupt registers and be called before any other Interrupt routines.
49-
* @param void
50-
* @return int8_t - initialization status
48+
* @brief Initializes the Interrupt module.
49+
* @retval 0 - Initialization is successful.
5150
*/
5251
int8_t CPUINT_Initialize();
5352

avr128db48-constant-current-driver-using-opamp-mplab-mcc.X/mcc_generated_files/system/pins.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* @brief This is generated driver header for pins.
99
* This header file provides APIs for all pins selected in the GUI.
1010
*
11-
* @version Driver Version 1.0.1
11+
* @version Driver Version 1.1.0
1212
*/
1313

1414
/*
15-
© [2022] Microchip Technology Inc. and its subsidiaries.
15+
© [2023] Microchip Technology Inc. and its subsidiaries.
1616
1717
Subject to your compliance with these terms, you may use Microchip
1818
software and any derivatives exclusively with Microchip products.

0 commit comments

Comments
 (0)