|
M5Unit-RF433 0.1.0 git rev:5415b86
|
RMT related definition and function for RF433. More...
Namespaces | |
| namespace | m5 |
| Top level namespace of M5Stack. | |
Functions | |
| item_container_type | m5::unit::rf433::encodeManchester (const uint8_t *data, const uint32_t len, const bool MSB=true) |
| Encode manchester. | |
| uint16_t | m5::unit::rf433::decodeManchester (uint8_t *buf, const uint16_t buf_size, const m5::unit::gpio::m5_rmt_item_t *data, const uint32_t num, const bool MSB=true) |
| Decode manchester. | |
RMT related definition and function for RF433.
| uint16_t m5::unit::rf433::decodeManchester | ( | uint8_t * | buf, |
| const uint16_t | buf_size, | ||
| const m5::unit::gpio::m5_rmt_item_t * | data, | ||
| const uint32_t | num, | ||
| const bool | MSB = true ) |
Decode manchester.
| buf | Output buffer |
| buf_size | Output buffer size |
| data | RMT data (exclude SOF) |
| num | Number of the RMT items |
| MSB | Process from MSB if true |
| item_container_type m5::unit::rf433::encodeManchester | ( | const uint8_t * | data, |
| const uint32_t | len, | ||
| const bool | MSB = true ) |
Encode manchester.
| data | Input buffer |
| len | Length of input buffer |
| MSB | Process from MSB if true |