M5Unit-FINGER 0.0.2 git rev:9f22200
Loading...
Searching...
No Matches
unit_FPC1xxx.cpp File Reference

FPC1xxx family with DSP unit for M5UnitUnified. More...

#include "unit_FPC1xxx.hpp"
#include <M5Utility.hpp>

Namespaces

namespace  m5
 Top level namespace of M5stack.
 

Enumerations

enum  FrameOffset : uint8_t {
  OFFSET_HEAD , OFFSET_CMD , OFFSET_P1 , OFFSET_P2 ,
  OFFSET_P3 , OFFSET_RESERVE , OFFSET_CRC , OFFSET_TAIL ,
  OFFSET_Q1 = OFFSET_P1 , OFFSET_Q2 = OFFSET_P2 , OFFSET_Q3 = OFFSET_P3 , OFFSET_LEN_H = OFFSET_P1 ,
  OFFSET_LEN_L = OFFSET_P2
}
 

Functions

uint8_t m5::unit::fpc1xxx::detail::xorSum (const uint8_t *data, const uint16_t len)
 
bool m5::unit::fpc1xxx::detail::is_valid_sum (const Frame response, const bool check_marker)
 
bool m5::unit::fpc1xxx::detail::is_valid_payload (const uint8_t *data, const uint16_t len)
 

Detailed Description

FPC1xxx family with DSP unit for M5UnitUnified.