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.
Initialize.cpp
00001 #include "Initialize.h" 00002 #include "../Using.h" 00003 00004 #include "../../Switch/Switch.h" 00005 #include "../../Communication/Controller/Mu/Mu.h" 00006 #include "../../Communication/Controller/Controller.h" 00007 #include "../../Communication/RS485/ActuatorHub/ActuatorHub.h" 00008 #include "../../Communication/RS485/RS485.h" 00009 #include "../../LED/LED.h" 00010 00011 void SystemInitialize() { 00012 #ifdef USE_SWITCH 00013 SWITCH::DipSw::Initialize(); 00014 SWITCH::LimitSw::Initialize(); 00015 #endif 00016 00017 #ifdef USE_MU 00018 MU::Mu::Initialize(SWITCH::DipSw::GetStatus()); 00019 CONTROLLER::Controller::Initialize(); 00020 #endif 00021 00022 #ifdef USE_LED 00023 LED::LED::Initialize(); 00024 #endif 00025 00026 #ifdef USE_RS485 00027 RS485::RS485::Initialize(); 00028 #endif 00029 00030 #ifdef USE_MOTOR 00031 ACTUATORHUB::MOTOR::Motor::Initialize(); 00032 #endif 00033 00034 #ifdef USE_SOLENOID 00035 ACTUATORHUB::SOLENOID::Solenoid::Initialize(); 00036 #endif 00037 00038 __enable_irq(); 00039 }
Generated on Sat Jul 30 2022 20:08:28 by
1.7.2