Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: HbUserOpe.cpp
- Revision:
- 22:24c9c2dedca9
- Child:
- 23:79e20be4bc5b
diff -r 78302ecdb661 -r 24c9c2dedca9 HbUserOpe.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/HbUserOpe.cpp Thu Dec 06 11:03:13 2018 +0000
@@ -0,0 +1,21 @@
+#include "HbUserOpe.h"
+#include "fpga.h"
+//=========================================
+//コンストラクタ
+//=========================================
+HbUserOpe::HbUserOpe(){
+ oldOpe.w = curOpe.w = 0;
+}
+
+//=========================================
+//デストラクタ
+//=========================================
+HbUserOpe::~HbUserOpe(){
+}
+
+typUserSw HbUserOpe::GetUserOpe()
+{
+ oldOpe = curOpe;
+ curOpe.w = fpgaGetUserSw();
+ return curOpe;
+}
\ No newline at end of file