From 4a48136e9c6d55ff9d9427a91ef43d44d26333d7 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Wed, 14 Feb 2018 16:53:49 +0100 Subject: spi, can and general improvements SPI: -move to single transfer read -clear interrupt register on read -perform multibyte read transfers with DMA -make frame format consistant CAN: -move from mailbox to CAN FIFO -implement buffering -support for reading multiple frames per transfer General: -use PLL at 100MHz -remove debug task -do not compile release with debug console enabled -bumped version to 0.13 Signed-off-by: Dominik Sliwa --- source/can_task.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/can_task.h') diff --git a/source/can_task.h b/source/can_task.h index b2113bf..564f073 100644 --- a/source/can_task.h +++ b/source/can_task.h @@ -15,5 +15,6 @@ TaskHandle_t can1_task_handle; void can0_task(void *pvParameters); void can1_task(void *pvParameters); int canx_registers(dspi_transfer_t *spi_transfer, int id); +void can_calculate_available_data(uint8_t id); #endif /* SOURCE_CAN_TASK_H_ */ -- cgit v1.2.3