BA / Mbed OS BaBoRo1
Embed: (wiki syntax)

« Back to documentation index

Drivers

Data Structures

class  AnalogIn
 An analog input, used for reading the voltage on a pin. More...
class  AnalogOut
 An analog output, used for setting the voltage on a pin. More...
class  BusIn
 A digital input bus, used for reading the state of a collection of pins. More...
class  BusInOut
 A digital input output bus, used for setting the state of a collection of pins. More...
class  BusOut
 A digital output bus, used for setting the state of a collection of pins. More...
class  CANMessage
 CANMessage class. More...
class  CAN
 A can bus client, used for communicating with can devices. More...
class  DigitalIn
 A digital input, used for reading the state of a pin. More...
class  DigitalInOut
 A digital input/output, used for setting or reading a bi-directional pin. More...
class  DigitalOut
 A digital output, used for setting the state of a pin. More...
class  Ethernet
 An ethernet interface, to use with the ethernet pins. More...
class  FlashIAP
 Flash IAP driver. More...
class  I2C
 An I2C Master, used for communicating with I2C slave devices. More...
class  I2CSlave
 An I2C Slave, used for communicating with an I2C Master device. More...
class  InterruptIn
 A digital interrupt input, used to call a function on a rising or falling edge. More...
class  InterruptManager
 Use this singleton if you need to chain interrupt handlers. More...
class  LowPowerTicker
 Low Power Ticker. More...
class  LowPowerTimeout
 Low Power Timout. More...
class  LowPowerTimer
 Low power timer. More...
class  MbedCRC< polynomial, width >
 CRC object provides CRC generation through hardware/software. More...
class  PortIn
 A multiple pin digital input. More...
class  PortInOut
 A multiple pin digital in/out used to set/read multiple bi-directional pins. More...
class  PortOut
 A multiple pin digital out. More...
class  PwmOut
 A pulse-width modulation digital output. More...
class  RawSerial
 A serial port (UART) for communication with other serial devices This is a variation of the Serial class that doesn't use streams, thus making it safe to use in interrupt handlers with the RTOS. More...
class  Serial
 A serial port (UART) for communication with other serial devices. More...
class  SerialBase
 A base class for serial port implementations Can't be instantiated directly (use Serial or RawSerial) More...
class  SPI
 A SPI Master, used for communicating with SPI slave devices. More...
class  SPISlave
 A SPI slave, used for communicating with a SPI Master device. More...
class  Ticker
 A Ticker is used to call a function at a recurring interval. More...
class  Timeout
 A Timeout is used to call a function at a point in the future. More...
class  Timer
 A general purpose timer. More...
class  TimerEvent
 Base abstraction for timer interrupts. More...
class  UARTSerial
 Class providing buffered UART communication functionality using separate circular buffer for send and receive channels. More...

Typedefs

typedef enum mbed::crc_polynomial crc_polynomial_t
 CRC Polynomial value.

Enumerations

enum  crc_polynomial
 

CRC Polynomial value.

More...

Functions

 MbedCRC (uint32_t initial_xor, uint32_t final_xor, bool reflect_data, bool reflect_remainder)
 Lifetime of CRC object.

Typedef Documentation

typedef enum mbed::crc_polynomial crc_polynomial_t

CRC Polynomial value.

Different polynomial values supported


Enumeration Type Documentation

enum crc_polynomial

CRC Polynomial value.

Different polynomial values supported

Definition at line 45 of file MbedCRC.h.


Function Documentation

MbedCRC ( uint32_t  initial_xor,
uint32_t  final_xor,
bool  reflect_data,
bool  reflect_remainder 
) [inherited]

Lifetime of CRC object.

Parameters:
initial_xorInital value/seed to Xor
final_xorFinal Xor value
reflect_data
reflect_remainder
Note:
Default constructor without any arguments is valid only for supported CRC polynomials. :: crc_polynomial_t MbedCRC <POLY_7BIT_SD, 7> ct; --- Valid POLY_7BIT_SD MbedCRC <0x1021, 16> ct; --- Valid POLY_16BIT_CCITT MbedCRC <POLY_16BIT_CCITT, 32> ct; --- Invalid, compilation error MbedCRC <POLY_16BIT_CCITT, 32> ct (i,f,rd,rr) Consturctor can be used for not supported polynomials MbedCRC<POLY_16BIT_CCITT, 16> sd(0, 0, false, false); Constructor can also be used for supported polynomials with different intial/final/reflect values

Definition at line 28 of file MbedCRC.cpp.