-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96e9bed
commit eebde39
Showing
33 changed files
with
17,038 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
*---------------------------------------------------------------------- | ||
* micro T-Kernel 3.00.00 | ||
* | ||
* Copyright (C) 2022 by Yuji Katori. | ||
* This software is distributed under the T-License 2.2. | ||
*---------------------------------------------------------------------- | ||
*/ | ||
|
||
/* | ||
* dev_rtc.h | ||
*/ | ||
|
||
#define RTC_OPEN( ) | ||
#define RTC_CLOSE( ) | ||
#define RTC_READ( ) dt->d_year = 100; \ | ||
dt->d_month = 1; \ | ||
dt->d_day = 1; \ | ||
dt->d_hour = 0; \ | ||
dt->d_min = 0; \ | ||
dt->d_sec = 0; | ||
|
||
#define RTC_WRITE( ) | ||
#define RTC_INIT( ) |
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,24 @@ | ||
/* | ||
*---------------------------------------------------------------------- | ||
* micro T-Kernel 3.00.00 | ||
* | ||
* Copyright (C) 2022 by Yuji Katori. | ||
* This software is distributed under the T-License 2.2. | ||
*---------------------------------------------------------------------- | ||
*/ | ||
|
||
/* | ||
* dev_rtc.h | ||
*/ | ||
|
||
#define RTC_OPEN( ) | ||
#define RTC_CLOSE( ) | ||
#define RTC_READ( ) dt->d_year = 100; \ | ||
dt->d_month = 1; \ | ||
dt->d_day = 1; \ | ||
dt->d_hour = 0; \ | ||
dt->d_min = 0; \ | ||
dt->d_sec = 0; | ||
|
||
#define RTC_WRITE( ) | ||
#define RTC_INIT( ) |
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,24 @@ | ||
/* | ||
*---------------------------------------------------------------------- | ||
* micro T-Kernel 3.00.00 | ||
* | ||
* Copyright (C) 2022 by Yuji Katori. | ||
* This software is distributed under the T-License 2.2. | ||
*---------------------------------------------------------------------- | ||
*/ | ||
|
||
/* | ||
* dev_rtc.h | ||
*/ | ||
|
||
#define RTC_OPEN( ) | ||
#define RTC_CLOSE( ) | ||
#define RTC_READ( ) dt->d_year = 100; \ | ||
dt->d_month = 1; \ | ||
dt->d_day = 1; \ | ||
dt->d_hour = 0; \ | ||
dt->d_min = 0; \ | ||
dt->d_sec = 0; | ||
|
||
#define RTC_WRITE( ) | ||
#define RTC_INIT( ) |
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,25 @@ | ||
/* | ||
*---------------------------------------------------------------------- | ||
* micro T-Kernel 3.00.00 | ||
* | ||
* Copyright (C) 2022 by Yuji Katori. | ||
* This software is distributed under the T-License 2.2. | ||
*---------------------------------------------------------------------- | ||
*/ | ||
|
||
/* | ||
* sd_config.h | ||
*/ | ||
#ifndef SD_CONFIG_H | ||
#define SD_CONFIG_H | ||
|
||
/* SD control task priority. */ | ||
#define SD_CFG_TASK_PRIORITY (3) | ||
|
||
/* SD interrupt priority level. */ | ||
#define SD_CFG_INT_PRIORITY (8) | ||
|
||
/* SD DMA channel. */ | ||
#define SD_CFG_DMA_CHANNEL (3) | ||
|
||
#endif /* SD_CONFIG_H */ |
Oops, something went wrong.