Nut/OS  5.0.5
API Reference
TIM_TypeDef Struct Reference

TIM. More...

#include <stm32f10x.h>

Collaboration diagram for TIM_TypeDef:
[legend]

Data Fields

__IO uint16_t CR1
uint16_t RESERVED0
__IO uint16_t CR2
uint16_t RESERVED1
__IO uint16_t SMCR
uint16_t RESERVED2
__IO uint16_t DIER
uint16_t RESERVED3
__IO uint16_t SR
uint16_t RESERVED4
__IO uint16_t EGR
uint16_t RESERVED5
__IO uint16_t CCMR1
uint16_t RESERVED6
__IO uint16_t CCMR2
uint16_t RESERVED7
__IO uint16_t CCER
uint16_t RESERVED8
__IO uint16_t CNT
uint16_t RESERVED9
__IO uint16_t PSC
uint16_t RESERVED10
__IO uint16_t ARR
uint16_t RESERVED11
__IO uint16_t RCR
uint16_t RESERVED12
__IO uint16_t CCR1
uint16_t RESERVED13
__IO uint16_t CCR2
uint16_t RESERVED14
__IO uint16_t CCR3
uint16_t RESERVED15
__IO uint16_t CCR4
uint16_t RESERVED16
__IO uint16_t BDTR
uint16_t RESERVED17
__IO uint16_t DCR
uint16_t RESERVED18
__IO uint16_t DMAR
uint16_t RESERVED19
__IO uint32_t CNT
__IO uint32_t ARR
__IO uint32_t CCR1
__IO uint32_t CCR2
__IO uint32_t CCR3
__IO uint32_t CCR4
__IO uint16_t OR
uint32_t RESERVED12
uint32_t RESERVED17
uint16_t RESERVED20

Detailed Description

TIM.


Field Documentation

TIM DMA/interrupt enable register, Address offset: 0x0C

Referenced by TIM_DMACmd(), TIM_GetITStatus(), and TIM_ITConfig().

TIM status register, Address offset: 0x10

Referenced by TIM_ClearFlag(), TIM_ClearITPendingBit(), TIM_GetFlagStatus(), and TIM_GetITStatus().

TIM event generation register, Address offset: 0x14

Referenced by TIM_GenerateEvent(), TIM_PrescalerConfig(), and TIM_TimeBaseInit().

TIM counter register, Address offset: 0x24

Referenced by TIM_GetCounter(), and TIM_SetCounter().

TIM prescaler, Address offset: 0x28

Referenced by TIM_GetPrescaler(), TIM_PrescalerConfig(), and TIM_TimeBaseInit().

Reserved, 0x32

Reserved, 0x2A

TIM auto-reload register, Address offset: 0x2C

Referenced by TIM_SetAutoreload(), and TIM_TimeBaseInit().

TIM repetition counter register, Address offset: 0x30

Referenced by TIM_TimeBaseInit().

TIM capture/compare register 1, Address offset: 0x34

Referenced by TIM_GetCapture1(), TIM_OC1Init(), and TIM_SetCompare1().

TIM capture/compare register 2, Address offset: 0x38

Referenced by TIM_GetCapture2(), TIM_OC2Init(), and TIM_SetCompare2().

TIM capture/compare register 3, Address offset: 0x3C

Referenced by TIM_GetCapture3(), TIM_OC3Init(), and TIM_SetCompare3().

TIM capture/compare register 4, Address offset: 0x40

Referenced by TIM_GetCapture4(), TIM_OC4Init(), and TIM_SetCompare4().

TIM break and dead-time register, Address offset: 0x44

Referenced by TIM_BDTRConfig(), and TIM_CtrlPWMOutputs().

TIM DMA control register, Address offset: 0x48

Referenced by TIM_DMAConfig().

TIM DMA address for full transfer, Address offset: 0x4C

TIM counter register, Address offset: 0x24

TIM auto-reload register, Address offset: 0x2C

TIM capture/compare register 1, Address offset: 0x34

TIM capture/compare register 2, Address offset: 0x38

TIM capture/compare register 3, Address offset: 0x3C

TIM capture/compare register 4, Address offset: 0x40

TIM option register, Address offset: 0x50


The documentation for this struct was generated from the following files: