LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_chip/chip_18xx_43xx/sct_pwm_18xx_43xx.h File Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Functions
sct_pwm_18xx_43xx.h File Reference

Go to the source code of this file.

## Functions
STATIC INLINE uint32_t | Chip_SCTPWM_GetTicksPerCycle (LPC_SCT_T *pSCT)
| Get number of ticks per PWM cycle. More...
STATIC INLINE uint32_t | Chip_SCTPWM_PercentageToTicks (LPC_SCT_T *pSCT, uint8_t percent)
| Converts a percentage to ticks. More...
STATIC INLINE uint32_t | Chip_SCTPWM_GetDutyCycle (LPC_SCT_T *pSCT, uint8_t index)
| Get number of ticks on per PWM cycle. More...
STATIC INLINE void | Chip_SCTPWM_SetDutyCycle (LPC_SCT_T *pSCT, uint8_t index, uint32_t ticks)
| Get number of ticks on per PWM cycle. More...
STATIC INLINE void | Chip_SCTPWM_Init (LPC_SCT_T *pSCT)
| Initialize the SCT/PWM clock and reset. More...
STATIC INLINE void | Chip_SCTPWM_Start (LPC_SCT_T *pSCT)
| Start the SCT PWM. More...
STATIC INLINE void | Chip_SCTPWM_Stop (LPC_SCT_T *pSCT)
| Stop the SCT PWM. More...
void | Chip_SCTPWM_SetRate (LPC_SCT_T *pSCT, uint32_t freq)
| Sets the frequency of the generated PWM wave. More...
void | Chip_SCTPWM_SetOutPin (LPC_SCT_T *pSCT, uint8_t index, uint8_t pin)
| Setup the OUTPUT pin and associate it with an index. More...