| Electronic Components Datasheet Search |
|
BLUENRG-2 Datasheet(PDF) 131 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
BLUENRG-2 Datasheet(HTML) 131 Page - STMicroelectronics |
|
131 / 190 page ![]() BlueNRG-2 Functional details DocID030675 Rev 2 131/190 Pin TnAEN TnBEN Mode 1 Mode 1a Mode 2 Mode 3 Mode 4 PWM and counter PWM pulse train Dual-input capture and counter Dual independent counter Input capture plus timer TnAEN = X TnBEN = 1 External event or pulse accumulate input External event if TnPTSE = 0 Capture TnCNT1 into TnCRB and preset TnCNT1 External event or pulse accumulate input Capture TnCNT2 into TnCRB and preset TnCNT2 3.13.2.7 IO configuration linked to MFT timers The MFT timers can be connected to the BlueNRG1 IO pins for the following features: Input signal to trig the timer in capture mode. Output signal when PWM mode is used (clock output emulation with controlled duty cycle) In capture mode, the timer waits for an external IO event to start counting. The chosen IO for capture is programmed through IOSEL_MFTX register in IO peripheral. This register allows configuring input capture IO for timers A and B of both MFT1 and MFT2, depending on which timer(s) are configured in capture mode. In PWM mode, the signal is output on PWM0 IO for MFT1 and PWM1 for MFT2. Those IOs are available at different location thanks to alternate option. So to output the chosen PWM signal, it is necessary to configure the IO with the dedicated mode. 3.13.2.8 Timers interrupts All sources have a pending flag associated with them, and can be enabled or disabled by software. The pending flags are named TnXPND, where n denotes the instance of the module, and X represents a letter from A to D. An interrupt enable flag (TnXIEN) is associated with each interrupt-pending flag. Interrupt sources A, B and C can each generate a timer interrupt MFT1A for MFT1 and MFT2A for MFT2, whereas interrupt source D can generate a timer interrupt MFT1B for MFT1 and MFT2B for MFT2. Not all interrupt sources are available in all modes. Table 158: "MFT interrupt functions" shows which events can trigger an interrupt in which mode of operation. Table 158: MFT interrupt functions Sys. Int. Interrupt pending flag Mode 1 Mode 1a Mode 2 Mode 3 Mode 4 PWM and counter PWM pulse train Dual-input capture and counter Dual independent counter Input capture plus timer Timer int. 1 (MFT1A, MFT2A) TnAPND TnCNT1 reload from TnCRA TnCNT1 reload from TnCRA Input capture on TnA transition TnCNT1 reload from TnCRA TnCNT1 reload from TnCRA TnBPND TnCNT1 reload from TnCRB TnCNT1 reload from TnCRB Input capture on TnB transition N/A Input capture on TnB transition TnCPND N/A N/A TnCNT1 underflow N/A N/A |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |