Software Library API naibrd 1.62
See all documentation at naii.docs.com
naibrd_pwm.h File Reference

Go to the source code of this file.

Typedefs

typedef enum nai_pwm_drive_mode nai_pwm_drive_mode_t
 
typedef enum nai_pwm_source nai_pwm_source_t
 
typedef enum nai_pwm_clock_edge nai_pwm_clock_edge_t
 
typedef enum nai_pwm_channel_raw nai_pwm_channel_raw_t
 
typedef enum nai_pwm_raw nai_pwm_raw_t
 
typedef enum nai_pwm_da_channel_raw nai_pwm_da_channel_raw_t
 
typedef enum nai_pwm_ad_channel_raw nai_pwm_ad_channel_raw_t
 

Enumerations

enum  nai_pwm_drive_mode { NAI_PWM_CURRENT_DRIVE , NAI_PWM_VOLTAGE_DRIVE }
 
enum  nai_pwm_source { NAI_PWM_SOURCE_SERIAL , NAI_PWM_SOURCE_OTHER }
 
enum  nai_pwm_clock_edge { NAI_PWM_CLOCK_EDGE_RISING , NAI_PWM_CLOCK_EDGE_FALLING }
 
enum  nai_pwm_channel_raw {
  NAI_PWM_CHAN_RAW_CURRENT_LIMIT , NAI_PWM_CHAN_RAW_INPUT_SCALE , NAI_PWM_CHAN_RAW_GLOBAL_GAIN , NAI_PWM_CHAN_RAW_INTEGRAL_GAIN ,
  NAI_PWM_CHAN_RAW_PROPORTIONAL_GAIN , NAI_PWM_CHAN_RAW_PI_TERM_LIMIT , NAI_PWM_CHAN_RAW_CURRENT_CMD , NAI_PWM_CHAN_RAW_VOLTAGE_CMD ,
  NAI_PWM_CHAN_RAW_DRIVE_ENABLE , NAI_PWM_CHAN_RAW_MEASURED_CURRENT , NAI_PWM_CHAN_RAW_MEASURED_VOLTAGE , NAI_PWM_CHAN_RAW_ENUM_COUNT
}
 
enum  nai_pwm_raw {
  NAI_PWM_RAW_PS_VOLTAGE , NAI_PWM_RAW_WATCHDOG_TIMEOUT , NAI_PWM_RAW_WATCHDOG_ENABLE , NAI_PWM_RAW_BATTLEFIELD_OVERRIDE_ENABLE ,
  NAI_PWM_RAW_PS_OVERTEMP_DISABLE_OVERRIDE , NAI_PWM_RAW_BOARD_READY , NAI_PWM_RAW_SERIAL_RX_CLOCK_EDGE , NAI_PWM_RAW_SERIAL_WATCHDOG_TIMEOUT ,
  NAI_PWM_RAW_SERIAL_WATCHDOG_ENABLE , NAI_PWM_RAW_SERIAL_TRANSMIT_ENABLE , NAI_PWM_RAW_SERIAL_CRC_ERROR_COUNT_DISABLE , NAI_PWM_RAW_SERIAL_DATA_FRAME_COUNT_DISABLE ,
  NAI_PWM_RAW_ETC , NAI_PWM_RAW_FAULT_LOG_DATA , NAI_PWM_RAW_FAULT_LOG_CONTROL , NAI_PWM_RAW_ENUM_COUNT
}
 
enum  nai_pwm_da_channel_raw { NAI_PWM_CHAN_RAW_DA_OUTPUT , NAI_PWM_DA_CHAN_RAW_ENUM_COUNT }
 
enum  nai_pwm_ad_channel_raw { NAI_PWM_CHAN_RAW_AD_INPUT , NAI_PWM_CHAN_RAW_AD_ENABLE , NAI_PWM_AD_CHAN_RAW_ENUM_COUNT }
 

Typedef Documentation

◆ nai_pwm_ad_channel_raw_t

◆ nai_pwm_channel_raw_t

◆ nai_pwm_clock_edge_t

◆ nai_pwm_da_channel_raw_t

◆ nai_pwm_drive_mode_t

◆ nai_pwm_raw_t

◆ nai_pwm_source_t

Enumeration Type Documentation

◆ nai_pwm_ad_channel_raw

nai_pwm_ad_channel_raw

Enumerator
NAI_PWM_CHAN_RAW_AD_INPUT 
NAI_PWM_CHAN_RAW_AD_ENABLE 
NAI_PWM_AD_CHAN_RAW_ENUM_COUNT 

◆ nai_pwm_channel_raw

nai_pwm_channel_raw

Enumerator
NAI_PWM_CHAN_RAW_CURRENT_LIMIT 
NAI_PWM_CHAN_RAW_INPUT_SCALE 
NAI_PWM_CHAN_RAW_GLOBAL_GAIN 
NAI_PWM_CHAN_RAW_INTEGRAL_GAIN 
NAI_PWM_CHAN_RAW_PROPORTIONAL_GAIN 
NAI_PWM_CHAN_RAW_PI_TERM_LIMIT 
NAI_PWM_CHAN_RAW_CURRENT_CMD 
NAI_PWM_CHAN_RAW_VOLTAGE_CMD 
NAI_PWM_CHAN_RAW_DRIVE_ENABLE 
NAI_PWM_CHAN_RAW_MEASURED_CURRENT 
NAI_PWM_CHAN_RAW_MEASURED_VOLTAGE 
NAI_PWM_CHAN_RAW_ENUM_COUNT 

◆ nai_pwm_clock_edge

nai_pwm_clock_edge

Enumerator
NAI_PWM_CLOCK_EDGE_RISING 
NAI_PWM_CLOCK_EDGE_FALLING 

◆ nai_pwm_da_channel_raw

nai_pwm_da_channel_raw

Enumerator
NAI_PWM_CHAN_RAW_DA_OUTPUT 
NAI_PWM_DA_CHAN_RAW_ENUM_COUNT 

◆ nai_pwm_drive_mode

nai_pwm_drive_mode

Enumerator
NAI_PWM_CURRENT_DRIVE 
NAI_PWM_VOLTAGE_DRIVE 

◆ nai_pwm_raw

nai_pwm_raw

Enumerator
NAI_PWM_RAW_PS_VOLTAGE 
NAI_PWM_RAW_WATCHDOG_TIMEOUT 
NAI_PWM_RAW_WATCHDOG_ENABLE 
NAI_PWM_RAW_BATTLEFIELD_OVERRIDE_ENABLE 
NAI_PWM_RAW_PS_OVERTEMP_DISABLE_OVERRIDE 
NAI_PWM_RAW_BOARD_READY 
NAI_PWM_RAW_SERIAL_RX_CLOCK_EDGE 
NAI_PWM_RAW_SERIAL_WATCHDOG_TIMEOUT 
NAI_PWM_RAW_SERIAL_WATCHDOG_ENABLE 
NAI_PWM_RAW_SERIAL_TRANSMIT_ENABLE 
NAI_PWM_RAW_SERIAL_CRC_ERROR_COUNT_DISABLE 
NAI_PWM_RAW_SERIAL_DATA_FRAME_COUNT_DISABLE 
NAI_PWM_RAW_ETC 
NAI_PWM_RAW_FAULT_LOG_DATA 
NAI_PWM_RAW_FAULT_LOG_CONTROL 
NAI_PWM_RAW_ENUM_COUNT 

◆ nai_pwm_source

nai_pwm_source

Enumerator
NAI_PWM_SOURCE_SERIAL 
NAI_PWM_SOURCE_OTHER