Enumerations
Enumerations
Peripheral Driver » APP DRIVER » PWM

## Enumerations
enum | app_pwm_id_t { APP_PWM_ID_0, APP_PWM_ID_1, APP_PWM_ID_MAX }
| PWM module Enumerations definition. More...
enum | app_pwm_active_channel_t { APP_PWM_ACTIVE_CHANNEL_A = 0x01, APP_PWM_ACTIVE_CHANNEL_B = 0x02, APP_PWM_ACTIVE_CHANNEL_C = 0x04, APP_PWM_ACTIVE_CHANNEL_ALL = 0x07, APP_PWM_ACTIVE_CHANNEL_CLEARED = 0x00 }
| PWM active channel Enumerations definition. More...
enum | app_pwm_state_t { APP_PWM_INVALID = 0, APP_PWM_ACTIVITY }
| App pwm state types. More...
enum | app_pwm_module_state_t { APP_PWM_STOP = 0, APP_PWM_START }
| App pwm module state types. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ app_pwm_active_channel_t

enum app_pwm_active_channel_t

PWM active channel Enumerations definition.

Enumerator
APP_PWM_ACTIVE_CHANNEL_A | The active channel is A
APP_PWM_ACTIVE_CHANNEL_B | The active channel is B
APP_PWM_ACTIVE_CHANNEL_C | The active channel is C
APP_PWM_ACTIVE_CHANNEL_ALL | The active channels are ALL
APP_PWM_ACTIVE_CHANNEL_CLEARED | All active channels are cleared

Definition at line 93 of file app_pwm.h.

## ◆ app_pwm_id_t

enum app_pwm_id_t

PWM module Enumerations definition.

Enumerator
APP_PWM_ID_0 | PWM module 0
APP_PWM_ID_1 | PWM module 1
APP_PWM_ID_MAX | Only for check parameter, not used as input parameters.

Definition at line 83 of file app_pwm.h.

## ◆ app_pwm_module_state_t

enum app_pwm_module_state_t

App pwm module state types.

Enumerator
APP_PWM_STOP |
APP_PWM_START |

Definition at line 114 of file app_pwm.h.

## ◆ app_pwm_state_t

enum app_pwm_state_t

App pwm state types.

Enumerator
APP_PWM_INVALID |
APP_PWM_ACTIVITY |

Definition at line 103 of file app_pwm.h.