STM8L15x Standard Peripherals Drivers: REMAP_Pin

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Enumerations

enum  REMAP_Pin_TypeDef {
  REMAP_Pin_USART1TxRxPortA = ((uint16_t)0x011C), REMAP_Pin_USART1TxRxPortC = ((uint16_t)0x012C), REMAP_Pin_USART1Clk = ((uint16_t)0x014B), REMAP_Pin_SPI1Full = ((uint16_t)0x0187),
  REMAP_Pin_ADC1ExtTRIG1 = ((uint16_t)0x0201), REMAP_Pin_TIM2TRIGPortA = ((uint16_t)0x0202), REMAP_Pin_TIM3TRIGPortA = ((uint16_t)0x0204), REMAP_Pin_TIM2TRIGLSE = ((uint16_t)0x0208),
  REMAP_Pin_TIM3TRIGLSE = ((uint16_t)0x0210), REMAP_Pin_SPI2Full = ((uint16_t)0x0220), REMAP_Pin_TIM3TRIGPortG = ((uint16_t)0x0240), REMAP_Pin_TIM23BKIN = ((uint16_t)0x0280),
  REMAP_Pin_SPI1PortF = ((uint16_t)0x0301), REMAP_Pin_USART3TxRxPortF = ((uint16_t)0x0302), REMAP_Pin_USART3Clk = ((uint16_t)0x0304), REMAP_Pin_TIM3Channel1 = ((uint16_t)0x0308),
  REMAP_Pin_TIM3Channel2 = ((uint16_t)0x0310), REMAP_Pin_CCO = ((uint16_t)0x0320), REMAP_Pin_TIM2Channel1 = ((uint16_t)0x0340), REMAP_Pin_TIM2Channel2 = ((uint16_t)0x0380)
}
 

Definition of the REMAP pins.

More...

Enumeration Type Documentation

Definition of the REMAP pins.

Elements values convention: 0xXY X = RMPCRx registers index X = 0x01 : RMPCR1 X = 0x02 : RMPCR2 X = 0x03 : RMPCR3 Y = Mask for setting/resetting bits in RMPCRx register

Enumerator:
REMAP_Pin_USART1TxRxPortA 

USART1 Tx- Rx (PC3- PC2) remapping to PA2- PA3

REMAP_Pin_USART1TxRxPortC 

USART1 Tx- Rx (PC3- PC2) remapping to PC5- PC6

REMAP_Pin_USART1Clk 

USART1 CK (PC4) remapping to PA0

REMAP_Pin_SPI1Full 

SPI1 MISO- MOSI- SCK- NSS(PB7- PB6- PB5- PB4) remapping to PA2- PA3- PC6- PC5

REMAP_Pin_ADC1ExtTRIG1 

ADC1 External Trigger 1 (PA6) remapping to PD0

REMAP_Pin_TIM2TRIGPortA 

TIM2 Trigger (PB3) remapping to PA4

REMAP_Pin_TIM3TRIGPortA 

TIM3 Trigger (PD1) remapping to PA5

REMAP_Pin_TIM2TRIGLSE 

TIM2 Trigger remapping to LSE

REMAP_Pin_TIM3TRIGLSE 

TIM3 Trigger remapping to LSE

REMAP_Pin_SPI2Full 

SPI2 MISO- MOSI- SCK- NSS(PG7- PG6- PG5- PG4) remapping to PI3- PI2- PI1- PI0

REMAP_Pin_TIM3TRIGPortG 

TIM3 Trigger (PD1) remapping to PG3

REMAP_Pin_TIM23BKIN 

TIM2 Break Input (PA4) remapping to PG0 and TIM3 Break Input (PA5) remapping to PG1

REMAP_Pin_SPI1PortF 

SPI1 MISO- MOSI- SCK- NSS(PB7- PB6- PB5- PB4) remapping to PF0- PF1- PF2- PF3

REMAP_Pin_USART3TxRxPortF 

USART3 Tx- Rx (PG1- PG0) remapping to PF0- PF1

REMAP_Pin_USART3Clk 

USART3 CK (PG2) remapping to PF2

REMAP_Pin_TIM3Channel1 

TIM3 Channel 1 (PB1) remapping to PI0

REMAP_Pin_TIM3Channel2 

TIM3 Channel 2 (PD0) remapping to PI3

REMAP_Pin_CCO 

CCO (PC4) remapping to PE2

REMAP_Pin_TIM2Channel1 

TIM2 Channel 1 (PB0) remapping to PC5

REMAP_Pin_TIM2Channel2 

TIM2 Channel 2 (PB2) remapping to PC6

Definition at line 194 of file stm8l15x_syscfg.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com