TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
TM_MCO_Functions

Library Functions. More...

Functions

void TM_MCOOUTPUT_InitMCO1 (void)
 Initializes and prepares MCO1 pin to output clock. More...
 
void TM_MCOOUTPUT_SetOutput1 (TM_MCOOUTPUT1_Source_t Source, TM_MCOOUTPUT_Prescaler_t Prescaler)
 Sets output for MCO1 pin. More...
 
void TM_MCOOUTPUT_InitMCO2 (void)
 Initializes and prepares MCO2 pin to output clock. More...
 
void TM_MCOOUTPUT_SetOutput2 (TM_MCOOUTPUT2_Source_t Source, TM_MCOOUTPUT_Prescaler_t Prescaler)
 Sets output for MCO2 pin. More...
 

Detailed Description

Library Functions.

Function Documentation

void TM_MCOOUTPUT_InitMCO1 ( void  )

Initializes and prepares MCO1 pin to output clock.

Parameters
None
Return values
None
void TM_MCOOUTPUT_InitMCO2 ( void  )

Initializes and prepares MCO2 pin to output clock.

Parameters
None
Return values
None
void TM_MCOOUTPUT_SetOutput1 ( TM_MCOOUTPUT1_Source_t  Source,
TM_MCOOUTPUT_Prescaler_t  Prescaler 
)

Sets output for MCO1 pin.

Parameters
SourceClock source to output. This parameter can be a value of TM_MCOOUTPUT1_Source_t enumeration.
PrescalerPrescaler used for clock. This parameter can be a value of TM_MCOOUTPUT_Prescaler_t enumeration.
Return values
None
void TM_MCOOUTPUT_SetOutput2 ( TM_MCOOUTPUT2_Source_t  Source,
TM_MCOOUTPUT_Prescaler_t  Prescaler 
)

Sets output for MCO2 pin.

Parameters
SourceClock source to output. This parameter can be a value of TM_MCOOUTPUT2_Source_t enumeration.
PrescalerPrescaler used for clock. This parameter can be a value of TM_MCOOUTPUT_Prescaler_t enumeration.
Return values
None