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.
HbUserOpe.cpp
- Committer:
- MasashiNomura
- Date:
- 2018-12-06
- Revision:
- 22:24c9c2dedca9
- Child:
- 23:79e20be4bc5b
File content as of revision 22:24c9c2dedca9:
#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;
}