|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
system.c
Go to the documentation of this file.
1
14/*
15© [2024] Microchip Technology Inc. and its subsidiaries.
16
17 Subject to your compliance with these terms, you may use Microchip
18 software and any derivatives exclusively with Microchip products.
19 You are responsible for complying with 3rd party license terms
20 applicable to your use of 3rd party software (including open source
21 software) that may accompany Microchip software. SOFTWARE IS ?AS IS.?
22 NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS
23 SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT,
24 MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
25 WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
26 INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY
27 KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
28 MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE
29 FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP?S
30 TOTAL LIABILITY ON ALL CLAIMS RELATED TO THE SOFTWARE WILL NOT
31 EXCEED AMOUNT OF FEES, IF ANY, YOU PAID DIRECTLY TO MICROCHIP FOR
32 THIS SOFTWARE.
33*/
34
35#include "../system.h"
36#include "../system_types.h"
37#include "../clock.h"
38#include "../pins.h"
39#include "../../adc/adc1.h"
40#include "../../can/can1.h"
41#include "../../clc/clc1.h"
42#include "../../cmp/cmp1.h"
43#include "../../cmp/cmp2.h"
44#include "../../cmp/cmp3.h"
45#include "../../crc/crc.h"
46#include "../dmt.h"
47#include "../../pwm_hs/pwm.h"
48#include "../../timer/sccp1.h"
49#include "../../pwm/sccp3.h"
50#include "../../timer/tmr1.h"
51#include "../../uart/uart1.h"
52#include "../interrupt.h"
53
54
55 void SYSTEM_Initialize(void)
56{
57 CLOCK_Initialize();
58 PINS_Initialize();
59 ADC1_Initialize();
60 CAN1_Initialize();
61 CLC1_Initialize();
62 CMP1_Initialize();
63 CMP2_Initialize();
64 CMP3_Initialize();
65 CRC_Initialize();
66 DMT_Initialize();
67 PWM_Initialize();
68 SCCP1_Timer_Initialize();
69 SCCP3_PWM_Initialize();
70 TMR1_Initialize();
71 UART1_Initialize();
72 INTERRUPT_GlobalEnable();
73 INTERRUPT_Initialize();
74}
75
ADC1_Initialize
void ADC1_Initialize(void)
Initializes ADC1 module, using the given initialization data This function must be called before any ...
Definition adc1.c:113
CAN1_Initialize
void CAN1_Initialize(void)
Initializes CAN1 module.
Definition can1.c:581
CLC1_Initialize
void CLC1_Initialize(void)
Initializes the CLC1 module.
Definition clc1.c:63
CMP2_Initialize
void CMP2_Initialize(void)
Initialize the CMP2 module.
Definition cmp2.c:69
CMP1_Initialize
void CMP1_Initialize(void)
Initialize the CMP1 module.
Definition cmp1.c:69
CMP3_Initialize
void CMP3_Initialize(void)
Initialize the CMP3 module.
Definition cmp3.c:69
CRC_Initialize
void CRC_Initialize(void)
Initializes the CRC module. This function sets the polynomial and data width; data and seed shift; up...
Definition crc.c:85
SCCP3_PWM_Initialize
void SCCP3_PWM_Initialize(void)
Initializes the SCCP3 Pulse driver. This function must be called before any other SCCP3 function is c...
Definition sccp3.c:66
PWM_Initialize
void PWM_Initialize(void)
Initializes PWM module, using the given initialization data.
Definition pwm.c:108
DMT_Initialize
void DMT_Initialize(void)
Initializes the DMT module.
Definition dmt.c:54
INTERRUPT_GlobalEnable
static void INTERRUPT_GlobalEnable(void)
Enables the global interrupt bit.
Definition interrupt.h:65
INTERRUPT_Initialize
void INTERRUPT_Initialize(void)
Initializes the interrupt priorities of the modules that have been configured.
Definition interrupt.c:44
PINS_Initialize
void PINS_Initialize(void)
Initializes the PINS module.
Definition pins.c:46
SYSTEM_Initialize
void SYSTEM_Initialize(void)
Initializes the System module.
Definition system.c:55
CLOCK_Initialize
void CLOCK_Initialize(void)
Initializes all the INTERNAL OSCILLATOR sources and clock switch configurations.
Definition clock.c:43
TMR1_Initialize
void TMR1_Initialize(void)
Initializes the TMR1 module.
Definition tmr1.c:71
SCCP1_Timer_Initialize
void SCCP1_Timer_Initialize(void)
Initializes the SCCP1 module.
Definition sccp1.c:75
UART1_Initialize
void UART1_Initialize(void)
Initializes the UART driver.
Definition uart1.c:104