| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Functions
BlueNRG1_mft.c File Reference

This file provides all the MFT firmware functions. More...

`#include "BlueNRG1_mft.h"`

Go to the source code of this file.

## Functions

void | MFT_DeInit (MFT_Type *MFTx)
| DeInit the MFTx peripheral. More...
void | MFT_Init (MFT_Type *MFTx, MFT_InitType *MFT_InitStruct)
| Initializes the MFTx peripheral according to the specified parameters in the MFT_InitStruct. More...
void | MFT_StructInit (MFT_InitType *MFT_InitStruct)
| Fills each MFT_InitStruct member with its default value. More...
void | MFT_Cmd (MFT_Type *MFTx, FunctionalState NewState)
| Enable/Disable the MFT. More...
void | MFT_TnEDGES (MFT_Type *MFTx, uint32_t MFT_TnA_edge, uint32_t MFT_TnB_edge)
| Configure edges sensibility of TnA and TnB. More...
void | MFT_PulseTrainTriggerSelect (MFT_Type *MFTx, uint32_t MFT_Trigger)
| Select trigger source for pulse-train generation in Mode 1a. More...
void | MFT_PulseTrainSoftwareTrigger (MFT_Type *MFTx)
| Pulse-train trigger generation in Mode 1a. More...
void | MFT_TnXEN (MFT_Type *MFTx, uint8_t TnX, FunctionalState NewState)
| Set or Reset TnAEN bit. More...
void | MFT_SelectCapturePin (uint32_t MFT_TimerType, uint8_t MFT_Pin)
| Set or Reset TnAEN bit. More...
void | MFT_SetCounter (MFT_Type *MFTx, uint16_t MFT_Cnt1, uint16_t MFT_Cnt2)
| Set the timer counter. More...
void | MFT_SetCounter1 (MFT_Type *MFTx, uint16_t MFT_Cnt)
| Set the timer counter1. More...
uint16_t | MFT_GetCounter1 (MFT_Type *MFTx)
| Get the timer counter1. More...
void | MFT_SetCounter2 (MFT_Type *MFTx, uint16_t MFT_Cnt)
| Set the timer counter2. More...
uint16_t | MFT_GetCounter2 (MFT_Type *MFTx)
| Get the timer counter2. More...
void | MFT_EnableIT (MFT_Type *MFTx, uint8_t MFT_IrqSource, FunctionalState NewState)
| Enable specific MFT interrupt. More...
void | MFT_ClearIT (MFT_Type *MFTx, uint8_t MFT_IrqSource)
| Clear specific MFT interrupt. More...
ITStatus | MFT_StatusIT (MFT_Type *MFTx, uint8_t MFT_IrqSource)
| Return interrupt status. More...

## Detailed Description

This file provides all the MFT firmware functions.

Author
  VMA Application Team

Version
  V2.0.0

Date
  21-March-2016

Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

##
© COPYRIGHT 2016 STMicroelectronics

Definition in file BlueNRG1_mft.c.