Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Enum

M-HAL PWM enumeration value list information, including define of the PWM channel number enumeration and define of the PWM running status enumeration. More...

Overview

M-HAL PWM enumeration value list information, including define of the PWM channel number enumeration and define of the PWM running status enumeration.

Enumerations

enum  pwm_channels_bit_map {
  PWM_BIT0 = 0,
  PWM_BIT1 = 1,
  PWM_BIT2 = 2,
  PWM_BIT3 = 3,
  PWM_BITMAX
}
 Defines the PWM channel bit map. More...
 
enum  pwm_running_status {
  PWM_IDLE = 0,
  PWM_BUSY = 1
}
 Defines the PWM running status. More...
 
enum  pwm_differential_select {
  PWM_DP0 = 0,
  PWM_DP1,
  PWM_DP2,
  PWM_DP3,
  PWM_DP_NUM
}
 Defines the PWM channel's differential mode. More...
 
enum  pwm_channels {
  PWM_CHANNEL0 = 0,
  PWM_CHANNEL1 = 1,
  PWM_CHANNEL2 = 2,
  PWM_CHANNEL3 = 3,
  PWM_CHANNEL_MAX
}
 Defines the PWM channel number. More...
 
enum  pwm_clks {
  PWM_CLOCK_32K = 0,
  PWM_CLOCK_2M,
  PWM_CLOCK_XTAL,
  PWM_CLOCK_NUM
}
 
enum  pwm_s0_s1_stages {
  PWM_STAGE_S0 = 0,
  PWM_STAGE_S1,
  PWM_STAGE_MAX
}
 

Enumeration Type Documentation

Defines the PWM channel bit map.

Enumerator
PWM_BIT0 

PWM channel0 bit map.

PWM_BIT1 

PWM channel1 bit map.

PWM_BIT2 

PWM channel2 bit map.

PWM_BIT3 

PWM channel3 bit map.

PWM_BITMAX 

PWM max channel <invalid>

Defines the PWM running status.

Enumerator
PWM_IDLE 

PWM status is idle.

PWM_BUSY 

PWM status is busy.

Defines the PWM channel's differential mode.

Enumerator
PWM_DP0 

PWM differential mode select PWM channel0.

PWM_DP1 

PWM differential mode select PWM channel1.

PWM_DP2 

PWM differential mode select PWM channel2.

PWM_DP3 

PWM differential mode select PWM channel3.

PWM_DP_NUM 

PWM differential mode select max <invalid>

Defines the PWM channel number.

Enumerator
PWM_CHANNEL0 

PWM channel0.

PWM_CHANNEL1 

PWM channel1.

PWM_CHANNEL2 

PWM channel2.

PWM_CHANNEL3 

PWM channel3.

PWM_CHANNEL_MAX 

PWM max channel <invalid>

enum pwm_clks
Enumerator
PWM_CLOCK_32K 

32K clock source

PWM_CLOCK_2M 

2M clock source

PWM_CLOCK_XTAL 

xtal clock source

PWM_CLOCK_NUM 

max clock source <invalid>

Enumerator
PWM_STAGE_S0 

S0 stage.

PWM_STAGE_S1 

S1 stage.

PWM_STAGE_MAX 

max pwm 2-state stage <invalid>