no-OS
Classes | Enumerations | Variables
stm32_pwm.h File Reference

Implementation of stm32 pwm driver. More...

#include <stdint.h>
#include <stdbool.h>
#include "no_os_gpio.h"
#include "no_os_irq.h"
#include "stm32_gpio.h"
#include "stm32_hal.h"
Include dependency graph for stm32_pwm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  stm32_pwm_init_param
 Structure holding the STM32 PWM parameters. More...
 
struct  stm32_pwm_desc
 Structure holding the STM32 PWM descriptor. More...
 

Enumerations

enum  TimOCMode {
  TIM_OC_TOGGLE = 0,
  TIM_OC_PWM1 = 1,
  TIM_OC_PWM2 = 2
}
 

Variables

const struct no_os_pwm_platform_ops stm32_pwm_ops
 STM32 specific PWM platform ops structure. More...
 

Detailed Description

Implementation of stm32 pwm driver.

Header file for stm32 pwm specifics.

Copyright 2023(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Enumeration Type Documentation

◆ TimOCMode

enum TimOCMode
Enumerator
TIM_OC_TOGGLE 
TIM_OC_PWM1 
TIM_OC_PWM2 

Variable Documentation

◆ stm32_pwm_ops

const struct no_os_pwm_platform_ops stm32_pwm_ops

STM32 specific PWM platform ops structure.

STM32 specific PWM platform ops structure.