srecord  1.65.0
srecord::stm32 Class Reference

The stm32 class is used to represent the running value of a 32-bit cyclic redundancy check of series of bytes, for the STM32 series of microcontrollers. More...

#include <stm32.h>

Public Member Functions

virtual ~stm32 ()
 The destructor. More...
 
 stm32 ()
 The default constructor. More...
 
 stm32 (const stm32 &)
 The copy constructor. More...
 
stm32operator= (const stm32 &)
 The assignment operator. More...
 
unsigned long get (void) const
 The get method is used to obtain the running value of the cyclic redundancy check. More...
 
void next (unsigned char c)
 The next method is used to advance the state by one byte. More...
 
void nextbuf (const void *data, size_t data_size)
 The nextbuf method is used to advance the state by a series of bytes. More...
 

Static Public Attributes

static const size_t wordsize = 4
 Word size on the STM32. More...
 

Detailed Description

The stm32 class is used to represent the running value of a 32-bit cyclic redundancy check of series of bytes, for the STM32 series of microcontrollers.

http://www.st.com/

Definition at line 42 of file stm32.h.

Constructor & Destructor Documentation

◆ ~stm32()

virtual srecord::stm32::~stm32 ( )
virtual

The destructor.

◆ stm32() [1/2]

srecord::stm32::stm32 ( )

The default constructor.

◆ stm32() [2/2]

srecord::stm32::stm32 ( const stm32 )

The copy constructor.

Member Function Documentation

◆ operator=()

stm32& srecord::stm32::operator= ( const stm32 )

The assignment operator.

◆ get()

unsigned long srecord::stm32::get ( void  ) const

The get method is used to obtain the running value of the cyclic redundancy check.

◆ next()

void srecord::stm32::next ( unsigned char  c)

The next method is used to advance the state by one byte.

◆ nextbuf()

void srecord::stm32::nextbuf ( const void *  data,
size_t  data_size 
)

The nextbuf method is used to advance the state by a series of bytes.

Member Data Documentation

◆ wordsize

const size_t srecord::stm32::wordsize = 4
static

Word size on the STM32.

Definition at line 84 of file stm32.h.


The documentation for this class was generated from the following file: