From 640e8cd1febc679b976fb26225aec8d462a4c241 Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 26 Jan 2020 15:35:18 +0100 Subject: GFX : wait end of transfert using a task notification. Code cleaning in SpiMaster. --- src/drivers/SpiMaster.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/drivers/SpiMaster.h') diff --git a/src/drivers/SpiMaster.h b/src/drivers/SpiMaster.h index 7dac747a..60013242 100644 --- a/src/drivers/SpiMaster.h +++ b/src/drivers/SpiMaster.h @@ -34,7 +34,9 @@ namespace Pinetime { void Wakeup(); private: - void setup_workaround_for_ftpan_58(NRF_SPIM_Type *spim, uint32_t ppi_channel, uint32_t gpiote_channel); + void SetupWorkaroundForFtpan58(NRF_SPIM_Type *spim, uint32_t ppi_channel, uint32_t gpiote_channel); + void DisableWorkaroundForFtpan58(NRF_SPIM_Type *spim, uint32_t ppi_channel, uint32_t gpiote_channel); + void PrepareTx(const volatile uint32_t bufferAddress, const volatile size_t size); NRF_SPIM_Type * spiBaseAddress; uint8_t pinCsn; -- cgit v1.2.3-70-g09d2