This is the first release of CrOS_EC_Python! Below are the interfaces and command abstractions supported by this release.
Supported interfaces:
- Linux Device -
CrosEcDev()
- LPC Bus Interface -
CrosEcLpc()
Abstracted commands:
General / test commands (general
)
EC_CMD_PROTO_VERSION
-proto_version()
EC_CMD_HELLO
-hello()
EC_CMD_GET_VERSION
-get_version()
EC_CMD_GET_BUILD_INFO
-get_build_info()
EC_CMD_GET_CHIP_INFO
-get_chip_info()
EC_CMD_GET_BOARD_VERSION
-get_board_version()
EC_CMD_GET_CMD_VERSIONS
-get_cmd_versions()
EC_CMD_TEST_PROTOCOL
-test_protocol()
EC_CMD_GET_PROTOCOL_INFO
-get_protocol_info()
Get features (features
)
EC_CMD_GET_FEATURES
-get_features()
PWM commands (pwm
)
EC_CMD_PWM_GET_FAN_TARGET_RPM
-pwm_get_fan_rpm()
EC_CMD_PWM_SET_FAN_TARGET_RPM
-pwm_set_fan_rpm()
EC_CMD_PWM_GET_KEYBOARD_BACKLIGHT
-pwm_get_keyboard_backlight()
EC_CMD_PWM_SET_KEYBOARD_BACKLIGHT
-pwm_set_keyboard_backlight()
EC_CMD_PWM_SET_FAN_DUTY
-pwm_set_fan_duty()
EC_CMD_PWM_SET_DUTY
-pwm_set_duty()
EC_CMD_PWM_GET_DUTY
-pwm_get_duty()
LED control commands (leds
)
EC_CMD_LED_CONTROL
-led_control()
Thermal engine commands (thermal
)
EC_CMD_THERMAL_AUTO_FAN_CTRL
-thermal_auto_fan_ctrl()
Full Changelog: https://github.com/Steve-Tech/CrOS_EC_Python/commits/0.0.1