RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Functions
pwmss.c File Reference

Support for eQEP for the BeagleBone Black. More...

#include <libcpu/am335x.h>
#include <stdio.h>
#include <bsp.h>
#include <bsp/pwmss.h>
#include <bsp/beagleboneblack.h>
#include <rtems/error.h>

Functions

rtems_status_code pwmss_module_clk_config (BBB_PWMSS pwmss_id)
 This function configures the L3 and L4_PER system clocks. It also configures the system clocks for the specified ePWMSS instance.
 

Detailed Description

Support for eQEP for the BeagleBone Black.

Function Documentation

◆ pwmss_module_clk_config()

rtems_status_code pwmss_module_clk_config ( BBB_PWMSS  pwmss_id)

This function configures the L3 and L4_PER system clocks. It also configures the system clocks for the specified ePWMSS instance.

Parameters
pwmss_idThe instance number of ePWMSS whose system clocks have to be configured.

'pwmss_id' can take one of the following values: (0 <= pwmss_id <= 2)

Returns
True if successful False if Unsuccessful