ConOpSys V2970
P004.07
ANVILEX control operating system
|
Bootloader base class. More...
#include <Bootloader_Base.h>
Public Member Functions | |
TBootloader_Base () | |
Class constructor method. More... | |
~TBootloader_Base () | |
Application destructor method. More... | |
VOID | Init () |
Application initialisation method. More... | |
VOID | Run () |
Application run method. More... | |
VOID | Done () |
Application finalisation method. More... | |
BOOL | Set_Bootloader_Shutdown_Request () |
Set bootloader shutdown request method. More... | |
BOOL | Is_Bootloader_Shutdown_Request () |
Get bootloader shutdown request method. More... | |
virtual VOID | Register_Commands ()=0 |
User application timer initialisation method. More... | |
virtual VOID | Register_Parameters ()=0 |
User command registration method. More... | |
VOID | Process_Application_LEDs () |
User application LEDs processing method. More... | |
Private Attributes | |
BOOL | bool_Bootloader_Shutdown = (BOOL)false |
Bootloader shutdown request flag. More... | |
Bootloader base class.
With this class, following functions can be done:
TBootloader_Base::TBootloader_Base | ( | ) |
Class constructor method.
TBootloader_Base::~TBootloader_Base | ( | ) |
Application destructor method.
VOID TBootloader_Base::Done | ( | ) |
Application finalisation method.
VOID TBootloader_Base::Init | ( | ) |
Application initialisation method.
ANVILEX KM: ???
References TParameter_Manager::Assign_Media(), TParameter_Manager::Assign_Protocol(), TSPI_Memory_Base::Assign_SPI_Master(), TParameter_Manager::Clear_Quasivolatile_Parameter_Values(), TTimer_Base::Configure_Clock(), TTIMER2_STM32F429::Configure_Clock(), TWatchdog_Timer_Base::Configure_Clock(), TCommunication_Data_Link::Connect_Data_Link(), TSystem_Interrupt_Manager::Enable_Interrupt(), TCPU_Base::enum_Power_On, TCPU_Base::enum_Undefined, TCPU_Base::enum_Unknown, TCPU_Base::enum_Watchdog, event_APPLICATION_RESET_SOURCE_POWER_ON, event_APPLICATION_RESET_SOURCE_UNDEFINED, event_APPLICATION_RESET_SOURCE_UNKNOWN, event_APPLICATION_RESET_SOURCE_WATCHDOG, FPGA_BASE, TCPU_STM32F429::Get_HCLK_Frequency(), TCPU_STM32F429::Get_IWDG_Frequency(), TCPU_STM32F429::Get_PCLK2_Frequency(), TCPU_STM32F429::Get_Reset_Source(), TCommand_Manager::Init(), TProtocol_IP_Over_ETHERNET::Init(), TProtocol_PLUG_Over_UART::Init(), TWatchdog_Timer_Base::Init(), TLED_P014_51_CB::Init(), TTarget_P014_51_CB::Init(), TParameter_Manager::Init(), TFM25V02::Init(), TSystem_Interrupt_Manager::Init(), TRTC_STM32F429::Init(), TSPI4_STM32F429::Init(), TSPI5_STM32F429::Init(), TSPI_Master_Base::Init(), TSYSTICK_STM32F429::Interrupt_Enable(), object_Command_Manager, object_Delay_Timer, object_FM25V02, object_Parameter_Manager, object_Protocol_Over_COM0, object_Protocol_Over_ETHERNET, object_System_CPU, object_System_Interrupt_Manager, object_System_LED, object_System_RTC, object_System_SPI1, object_System_SPI2, object_System_SPI3, object_System_Terminal, object_System_Timer, object_System_Watchdog_Timer, object_Target, Register_Commands(), Register_Parameters(), TParameter_Manager::Restore_Nonvolatile_Parameter_Values(), TTarget_P014_51_CB::Send_Boot_Information(), TSYSTICK_STM32F429::Set_Interrupt_Frequency(), TWDT_STM32F429::Set_Period(), TCommand_Manager::Show_Boot_Information(), TParameter_Manager::Show_Boot_Information(), TProtocol_Base::Show_System_Ready_Message_Disable(), TProtocol_Base::Show_System_Ready_Message_Enable(), TProtocol_Base::Show_System_Welcome_Message_Disable(), TProtocol_Base::Show_System_Welcome_Message_Enable(), TFM25V02::Start(), TSYSTICK_STM32F429::Start(), TTIMER2_STM32F429::Start(), TWDT_STM32F429::Start(), TCommand_Manager::Start_Operation(), TParameter_Manager::Start_Operation(), tcp_setup(), TProtocol_Base::Transmit_Boot_Welcome_Message(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_System_Ready_Message(), and TParameter_Manager::Verify_Database().
BOOL TBootloader_Base::Is_Bootloader_Shutdown_Request | ( | ) |
Get bootloader shutdown request method.
false | - Shutdown not requested |
true | - Shutdown requested |
Referenced by Run().
VOID TBootloader_Base::Process_Application_LEDs | ( | ) |
User application LEDs processing method.
Referenced by Run().
|
pure virtual |
User application timer initialisation method.
User command registration method
Referenced by Init().
|
pure virtual |
User command registration method.
Referenced by Init().
VOID TBootloader_Base::Run | ( | ) |
Application run method.
References TSystem_LED_Base::bool_Start_Procesing, TSystem_Interrupt_Manager::Disable_Interrupt(), TParameter_Manager::Execute(), TRTC_STM32F429::Execute_Background(), TSYSTICK_STM32F429::Interrupt_Disable(), Is_Bootloader_Shutdown_Request(), object_Parameter_Manager, object_System_Interrupt_Manager, object_System_LED, object_System_RTC, object_System_Timer, object_System_Watchdog_Timer, Process_Application_LEDs(), TWDT_STM32F429::Reset(), and TWDT_STM32F429::Stop().
BOOL TBootloader_Base::Set_Bootloader_Shutdown_Request | ( | ) |
Set bootloader shutdown request method.
false | - Bootloader shutdown not requested |
true | - Bootloader shutdown requested |
Bootloader shutdown request flag.