Skip to content

Commit

Permalink
Add GPIO and LEDs for FM mode
Browse files Browse the repository at this point in the history
  • Loading branch information
phl0 committed May 11, 2020
1 parent eb9c0df commit 17a3743
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions IOSTM.cpp
Expand Up @@ -547,13 +547,15 @@ YSF PC7 output
P25 PC8 output
NXDN PC9 output
POCSAG PA8 output
FM PA11 output
MDSTAR PC1 output
MDMR PC2 output
MYSF PC3 output
MP25 PC4 output
MNXDN PC10 output
MPOCSAG PC11 output
MFM PC13 output
RX PA0 analog input
RSSI PA7 analog input
Expand Down Expand Up @@ -590,6 +592,10 @@ EXT_CLK PA15 input
#define PORT_POCSAG GPIOA
#define RCC_Per_POCSAG RCC_AHB1Periph_GPIOA

#define PIN_FM GPIO_Pin_11
#define PORT_FM GPIOA
#define RCC_Per_FM RCC_AHB1Periph_GPIOA

#define PIN_DSTAR GPIO_Pin_15
#define PORT_DSTAR GPIOB
#define RCC_Per_DSTAR RCC_AHB1Periph_GPIOB
Expand Down Expand Up @@ -626,6 +632,10 @@ EXT_CLK PA15 input
#define PIN_MPOCSAG GPIO_Pin_11
#define PORT_MPOCSAG GPIOC
#define RCC_Per_MPOCSAG RCC_AHB1Periph_GPIOC

#define PIN_MFM GPIO_Pin_13
#define PORT_MFM GPIOC
#define RCC_Per_MFM RCC_AHB1Periph_GPIOC
#endif

#define PIN_EXT_CLK GPIO_Pin_15
Expand Down

0 comments on commit 17a3743

Please sign in to comment.