7 /* Max length of the message payload. */
8 #define UCMB_MAX_MSG_LEN (128 * 64 / 8 + 16)
10 /* ucmb_rx_message - Message receive callback.
11 * Define this elsewhere. It's called on successful retrieval
13 * If a reply message has to be transferred after this one, put the
14 * message payload into the "payload" buffer and return the number
15 * of bytes to transmit. If no reply message is needed, return 0.
16 * Note that the "payload" buffer always has a size of UCMB_MAX_MSG_LEN.
18 extern uint16_t ucmb_rx_message(uint8_t *payload
,
19 uint16_t payload_length
);
21 /* Initialize the UCMB subsystem. */
24 #endif /* UCMB_AVR8_H_ */