-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Embedded-System-Lovers/port_init_and_docs
Dedicated Port_Init() and update docs
- Loading branch information
Showing
8 changed files
with
87 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/****************************************************************************************** | ||
Filename : Port.c | ||
Core : QingKe V4F (RISC-V) | ||
MCU : CH32V307VCT6 (WCH) | ||
Author : Christopher Kormanyos | ||
Owner : Christopher Kormanyos | ||
Date : 24.06.2024 | ||
Description : port driver implementation | ||
******************************************************************************************/ | ||
|
||
//========================================================================================= | ||
// Includes | ||
//========================================================================================= | ||
#include <Port.h> | ||
|
||
//----------------------------------------------------------------------------------------- | ||
/// \brief | ||
/// | ||
/// \param | ||
/// | ||
/// \return | ||
//----------------------------------------------------------------------------------------- | ||
void Port_Init(void) | ||
{ | ||
GPIOC->OUTDR.bit.ODR0 = 0u; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/****************************************************************************************** | ||
Filename : SysTick.h | ||
Core : QingKe V4F (RISC-V) | ||
MCU : CH32V307VCT6 (WCH) | ||
Author : Chalandi Amine | ||
Owner : Chalandi Amine | ||
Date : 23.01.2023 | ||
Description : system tick timer driver header file | ||
******************************************************************************************/ | ||
|
||
#ifndef __PORT_H__ | ||
#define __PORT_H__ | ||
|
||
//========================================================================================= | ||
// Includes | ||
//========================================================================================= | ||
#include <CH32V30xxx.h> | ||
#include <Platform_Types.h> | ||
|
||
void Port_Init(void); | ||
|
||
#endif /* __PORT_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.