1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23:49 +01:00

cpu/sam0_common: add PERIPH_I2C_MAX_BYTES_PER_FRAME due to I2C limitations

This commit is contained in:
Hendrik van Essen 2023-02-14 17:50:11 +01:00
parent ea300c3d15
commit 9b0cf96ecd

View File

@ -56,6 +56,11 @@ extern "C" {
#define PERIPH_I2C_NEED_WRITE_REGS #define PERIPH_I2C_NEED_WRITE_REGS
/** @} */ /** @} */
/**
* @brief Maximum bytes per frame for I2C operations
*/
#define PERIPH_I2C_MAX_BYTES_PER_FRAME 256
/** /**
* @brief Override GPIO type * @brief Override GPIO type
* @{ * @{