The input_filter_message_stm32 class represents the code required to calculate an STM32 (CRC) value.
More...
#include <stm32.h>
|
virtual | ~input_filter_message_stm32 () |
| The destructor.
|
|
virtual | ~input_filter_message () |
| The destructor.
|
|
virtual | ~input_filter () |
| The destructor.
|
|
std::string | filename () const |
| The filename method is used to get the name of the input file being processed.
|
|
std::string | filename_and_line () const |
| The filename_and_line method is used to get the name and current line number within the file.
|
|
const char * | get_file_format_name () const |
| The get_file_format_name method is used to find out the name of the file format being read.
|
|
void | disable_checksum_validation () |
| The disable_checksum_validation method is used to have this input stream ignore checksum errors.
|
|
virtual | ~input () |
| The destructor.
|
|
virtual void | fatal_error (const char *,...) const FORMAT_PRINTF(2 |
| The fatal_error method is used to report problems parsing the file.
|
|
virtual void virtual void | fatal_error_errno (const char *,...) const FORMAT_PRINTF(2 |
| The fatal_error_errno method is used to report problems reading the input file.
|
|
virtual void virtual void virtual void | warning (const char *,...) const FORMAT_PRINTF(2 |
| The warning method is used to report potential (but non-fatal) problems parsing the file.
|
|
void | set_quit (quit &) |
| The set_quit method is used to set the disposition of the error messages, and the "exit" implementation.
|
|
void | reset_quit (void) |
| The reset_quit method is used to cause the disposition of the error messages, and the "exit" back to the default.
|
|
|
static pointer | create (const input::pointer &deeper, unsigned long address, endian_t end) |
| The create class method is used to create new dynamically allocated instances of this class.
|
|
The input_filter_message_stm32 class represents the code required to calculate an STM32 (CRC) value.
http://www.st.com/
Definition at line 43 of file stm32.h.
◆ ~input_filter_message_stm32()
virtual srecord::input_filter_message_stm32::~input_filter_message_stm32 |
( |
| ) |
|
|
virtual |
◆ create()
The create class method is used to create new dynamically allocated instances of this class.
- Parameters
-
deeper | The incoming data source to be filtered |
address | where to place the checksum |
end | The byte order. |
◆ command_line()
void srecord::input_filter_message_stm32::command_line |
( |
arglex_tool * | cmdln | ) |
|
|
protectedvirtual |
The command_line method is used by arglex_srec::get_input when parsing the command line, to give a format or filter an opportunity to grab extra arguments off the command line.
The default implementation does nothing.
- Parameters
-
cmdln | Where to obtain information about the curreent parse state of the command line. |
Reimplemented from srecord::input.
◆ process()
void srecord::input_filter_message_stm32::process |
( |
const memory & | input, |
|
|
record & | output ) |
|
protectedvirtual |
The process method is used to process the data from the input.
- Parameters
-
input | The memory representation to be processed. |
output | The filter's output. |
Implements srecord::input_filter_message.
◆ get_algorithm_name()
const char * srecord::input_filter_message_stm32::get_algorithm_name |
( |
void | | ) |
const |
|
protectedvirtual |
◆ get_minimum_alignment()
unsigned srecord::input_filter_message_stm32::get_minimum_alignment |
( |
void | | ) |
const |
|
protectedvirtual |
The get_minimum_alignment method is used to obtain the minium require dbyte alignment.
Returns 0 if irrelevant.
Reimplemented from srecord::input_filter_message.
The documentation for this class was generated from the following file: