Line 1... |
Line 1... |
// #################################################################################################
|
// #################################################################################################
|
// # << NEORV32: neorv32_pwm.c - Pulse Width Modulation Controller (PWM) HW Driver >> #
|
// # << NEORV32: neorv32_pwm.c - Pulse Width Modulation Controller (PWM) HW Driver >> #
|
// # ********************************************************************************************* #
|
// # ********************************************************************************************* #
|
// # BSD 3-Clause License #
|
// # BSD 3-Clause License #
|
// # #
|
// # #
|
// # Copyright (c) 2020, Stephan Nolting. All rights reserved. #
|
// # Copyright (c) 2021, Stephan Nolting. All rights reserved. #
|
// # #
|
// # #
|
// # Redistribution and use in source and binary forms, with or without modification, are #
|
// # Redistribution and use in source and binary forms, with or without modification, are #
|
// # permitted provided that the following conditions are met: #
|
// # permitted provided that the following conditions are met: #
|
// # #
|
// # #
|
// # 1. Redistributions of source code must retain the above copyright notice, this list of #
|
// # 1. Redistributions of source code must retain the above copyright notice, this list of #
|
Line 36... |
Line 36... |
/**********************************************************************//**
|
/**********************************************************************//**
|
* @file neorv32_pwm.c
|
* @file neorv32_pwm.c
|
* @author Stephan Nolting
|
* @author Stephan Nolting
|
* @brief Pulse-Width Modulation Controller (PWM) HW driver source file.
|
* @brief Pulse-Width Modulation Controller (PWM) HW driver source file.
|
*
|
*
|
* @note These functions should only be used if the PWM unit was synthesized (IO_PWM_USE = true).
|
* @note These functions should only be used if the PWM unit was synthesized (IO_PWM_EN = true).
|
**************************************************************************/
|
**************************************************************************/
|
|
|
#include "neorv32.h"
|
#include "neorv32.h"
|
#include "neorv32_pwm.h"
|
#include "neorv32_pwm.h"
|
|
|