Introduce gpio2 for the CMT2300A module

This implements the sending interrupt instead of polling. On the other hand, gpio3 is made optional.
This commit is contained in:
Thomas Basler
2023-03-28 23:46:07 +02:00
parent 854fcdaeae
commit 996404ceed
11 changed files with 56 additions and 17 deletions

View File

@@ -22,6 +22,7 @@ struct PinMapping_t {
int8_t cmt_clk;
int8_t cmt_cs;
int8_t cmt_fcs;
int8_t cmt_gpio2;
int8_t cmt_gpio3;
int8_t cmt_sdio;