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.
System/Initialize/Initialize.cpp
- Committer:
- yabahiro
- Date:
- 2019-11-23
- Revision:
- 59:5cd3875fa96a
- Parent:
- 30:8f092276b2ba
File content as of revision 59:5cd3875fa96a:
#include "Initialize.h" #include "../Using.h" #include "../../Switch/Switch.h" #include "../../Communication/Controller/Mu/Mu.h" #include "../../Communication/Controller/Controller.h" #include "../../Communication/RS485/ActuatorHub/ActuatorHub.h" #include "../../Communication/RS485/RS485.h" #include "../../LED/LED.h" void SystemInitialize() { #ifdef USE_SWITCH SWITCH::DipSw::Initialize(); SWITCH::LimitSw::Initialize(); #endif #ifdef USE_MU MU::Mu::Initialize(SWITCH::DipSw::GetStatus()); CONTROLLER::Controller::Initialize(); #endif #ifdef USE_LED LED::LED::Initialize(); #endif #ifdef USE_RS485 RS485::RS485::Initialize(); #endif #ifdef USE_MOTOR ACTUATORHUB::MOTOR::Motor::Initialize(); #endif #ifdef USE_SOLENOID ACTUATORHUB::SOLENOID::Solenoid::Initialize(); #endif __enable_irq(); }