Files
@ 872ec99b2dff
Branch filter:
Location: therm/libraries/oleddrv/StringResource.c - annotation
872ec99b2dff
8.8 KiB
text/plain
SPI setup using stdperiph
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa 1c5909c633fa | /*******************************************************************************
* File Name : StringResource.c
* Author : lxyppc
* Version : V1.0
* Date : 10-01-21
* Description : String resouce file
*******************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include "menu.h"
#include "StringResource.h"
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
const LPCSTR StringTable_ENG[STR_LAST] =
{
[STR_DEFAULT] = "Press to quit...",
[STR_ROOT] = "Quit",
[STR_STATUS] = "Status",
[STR_TEST] = "Test",
[STR_SETTING] = "Setting",
[STR_ABOUT] = "About",
[STR_SETTING_CONTRAST] = "Contrast",
[STR_SETTING_TIME] = "Time",
[STR_STATUS_BAT] = "Battary",
[STR_STATUS_GRAVITY] = "Gravity",
[STR_SETTING_LANGUAGE] = "Language",
[STR_LANG_ENG] = "English",
[STR_LANG_CHS] = "ChineseS",
[STR_CHANGE_CONTRAST] = "Change contrast:",
[STR_SET_TIME] = "Set time:",
[STR_VIEW_BATTARY] = "Battary status:",
[STR_BAT_CHARGE] = "Charging ...",
[STR_BAT_FULL] = "Charge finish",
[STR_BAT_NORMAL] = "Disconnected",
[STR_BAT_CAPACITY] = "Capacity:",
[STR_BAT_VOLTAGE] = "Voltage: ",
[STR_ABOUT_0] = "Oled Project 1.0",
[STR_ABOUT_1] = "lxyppc@163.com",
[STR_ABOUT_2] = "All rights reserved",
[STR_OK] = "OK",
[STR_CANCEL] = "Cancel",
[STR_JAN] = "Jan",
[STR_FEB] = "Feb",
[STR_MAR] = "Mar",
[STR_APR] = "Apr",
[STR_MAY] = "May",
[STR_JUN] = "Jun",
[STR_JUL] = "Jul",
[STR_AUG] = "Aug",
[STR_SEP] = "Sep",
[STR_OCT] = "Oct",
[STR_NOV] = "Nov",
[STR_DEC] = "Dec",
[STR_SUNDAY] = "Sun",
[STR_MONDAY] = "Mon",
[STR_TUESDAY] = "Tue",
[STR_WEDNESDAY] = "Wed",
[STR_THURSDAY] = "Thu",
[STR_FRIDAY] = "Fri",
[STR_SATURDAY] = "Sat",
[STR_AM] = "am",
[STR_PM] = "pm",
[STR_YEAR] = " Year:",
[STR_MONTH] = " Month:",
[STR_DATE] = " Date:",
[STR_HOUR] = " Hour:",
[STR_MINUTE] = "Minute:",
};
const LPCSTR StringTable_CHS[STR_LAST] =
{
/*
[STR_DEFAULT] = "按中键退出",
[STR_ROOT] = "退出",
[STR_STATUS] = "设备状态",
[STR_TEST] = "测试",
[STR_SETTING] = "设置",
[STR_ABOUT] = "关于",
[STR_SETTING_CONTRAST] = "对比度",
[STR_SETTING_TIME] = "时间",
[STR_STATUS_BAT] = "电池",
[STR_STATUS_GRAVITY] = "重力加速度",
[STR_SETTING_LANGUAGE] = "语言",
[STR_LANG_ENG] = "英语",
[STR_LANG_CHS] = "简体中文",
[STR_CHANGE_CONTRAST] = "更改对比度:",
[STR_SET_TIME] = "设置时间:",
[STR_VIEW_BATTARY] = "电池状态:",
[STR_BAT_CHARGE] = "充电中 ...",
[STR_BAT_FULL] = "充电完成",
[STR_BAT_NORMAL] = "断开连接",
[STR_BAT_CAPACITY] = "当前容量:",
[STR_BAT_VOLTAGE] = "当前电压: ",
[STR_ABOUT_0] = "Oled 项目 1.0",
[STR_ABOUT_1] = "lxyppc@163.com",
[STR_ABOUT_2] = "版权所有",
[STR_OK] = "确定",
[STR_CANCEL] = "取消",
[STR_JAN] = " 1月",
[STR_FEB] = " 2月",
[STR_MAR] = " 3月",
[STR_APR] = " 4月",
[STR_MAY] = " 5月",
[STR_JUN] = " 6月",
[STR_JUL] = " 7月",
[STR_AUG] = " 8月",
[STR_SEP] = " 9月",
[STR_OCT] = "10月",
[STR_NOV] = "11月",
[STR_DEC] = "12月",
[STR_SUNDAY] = "周日",
[STR_MONDAY] = "周一",
[STR_TUESDAY] = "周二",
[STR_WEDNESDAY] = "周三",
[STR_THURSDAY] = "周四",
[STR_FRIDAY] = "周五",
[STR_SATURDAY] = "周六",
[STR_AM] = "上午",
[STR_PM] = "下午",
[STR_YEAR] = " 年度:",
[STR_MONTH] = " 月份:",
[STR_DATE] = " 日期:",
[STR_HOUR] = " 小时:",
[STR_MINUTE] = " 分钟:",
*/
[STR_DEFAULT] = /*"按中键退出"*/"\xA4\x84\xC6\xC1\x8D",
[STR_ROOT] = /*"退出"*/"\xC1\x8D",
[STR_STATUS] = /*"设备状态"*/"\xBD\x97\xB5\xA1",
[STR_TEST] = /*"测试"*/"\xB2\xBE",
[STR_SETTING] = /*"设置"*/"\xBD\xBA",
[STR_ABOUT] = /*"关于"*/"\x8C\x86",
[STR_SETTING_CONTRAST] = /*"对比度"*/"\x9B\xB0\x9E",
[STR_SETTING_TIME] = /*"时间"*/"\xAA\xC7",
[STR_STATUS_BAT] = /*"电池"*/"\xB6\xB1",
[STR_STATUS_GRAVITY] = /*"重力加速度"*/"\xC3\x90\x91\xC2\x9E",
[STR_SETTING_LANGUAGE] = /*"语言"*/"\xBF\xBC",
[STR_LANG_ENG] = /*"英语"*/"\xBB\xBF",
[STR_LANG_CHS] = /*"简体中文"*/"\xB9\x89\x84\xA7",
[STR_CHANGE_CONTRAST] = /*"更改对比度:"*/"\xAB\xA6\x9B\xB0\x9E:",
[STR_SET_TIME] = /*"设置时间:"*/"\xBD\xBA\xAA\xC7:",
[STR_VIEW_BATTARY] = /*"电池状态:"*/"\xB6\xB1\xB5\xA1:",
[STR_BAT_CHARGE] = /*"充电中 ..."*/"\x8A\xB6\x84 ...",
[STR_BAT_FULL] = /*"充电完成"*/"\x8A\xB6\x98\xA2",
[STR_BAT_NORMAL] = /*"断开连接"*/"\xA8\x9F\xC0\xA5",
[STR_BAT_CAPACITY] = /*"当前容量:"*/"\xA0\x8F\x9A\xC4:",
[STR_BAT_VOLTAGE] = /*"当前电压: "*/"\xA0\x8F\xB6\x93: ",
[STR_ABOUT_0] = /*"Oled 项目 1.0"*/"Oled \xC8\xB7 1.0",
[STR_ABOUT_1] = /*"lxyppc@163.com"*/"lxyppc@163.com",
[STR_ABOUT_2] = /*"版权所有"*/"\xB4\xAF\xA3\xAD",
[STR_OK] = /*"确定"*/"\xB8\x99",
[STR_CANCEL] = /*"取消"*/"\x94\xB3",
[STR_JAN] = /*" 1月"*/" 1\xAC",
[STR_FEB] = /*" 2月"*/" 2\xAC",
[STR_MAR] = /*" 3月"*/" 3\xAC",
[STR_APR] = /*" 4月"*/" 4\xAC",
[STR_MAY] = /*" 5月"*/" 5\xAC",
[STR_JUN] = /*" 6月"*/" 6\xAC",
[STR_JUL] = /*" 7月"*/" 7\xAC",
[STR_AUG] = /*" 8月"*/" 8\xAC",
[STR_SEP] = /*" 9月"*/" 9\xAC",
[STR_OCT] = /*"10月"*/"10\xAC",
[STR_NOV] = /*"11月"*/"11\xAC",
[STR_DEC] = /*"12月"*/"12\xAC",
[STR_SUNDAY] = /*"周日"*/"\x95\xA9",
[STR_MONDAY] = /*"周一"*/"\x95\x80",
[STR_TUESDAY] = /*"周二"*/"\x95\x85",
[STR_WEDNESDAY] = /*"周三"*/"\x95\x81",
[STR_THURSDAY] = /*"周四"*/"\x95\x96",
[STR_FRIDAY] = /*"周五"*/"\x95\x87",
[STR_SATURDAY] = /*"周六"*/"\x95\x8B",
[STR_AM] = /*"上午"*/"\x82\x92",
[STR_PM] = /*"下午"*/"\x83\x92",
[STR_YEAR] = /*" 年度:"*/" \x9D\x9E:",
[STR_MONTH] = /*" 月份:"*/" \xAC\x88:",
[STR_DATE] = /*" 日期:"*/" \xA9\xAE:",
[STR_HOUR] = /*" 小时:"*/" \x9C\xAA:",
[STR_MINUTE] = /*" 分钟:"*/" \x8E\xC5:",
/* Replaced strings:
一三上下中二于五份体充六关出分前力加午压取周四备完定容对小年度开当态成所按接改文断日时更月有期权比池测消版状电目确简置英言设试语连退速重量钟键间项
808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8
*/
};
|