doc improvements

This commit is contained in:
Jeff Epler 2022-10-01 10:08:33 -05:00
parent d3e85d165e
commit 40c2de833d
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 3 additions and 3 deletions

View File

@ -59,11 +59,11 @@ const mp_obj_type_t cyw43_pin_type = {
//| PM_STANDARD: int //| PM_STANDARD: int
//| """The standard power management mode""" //| """The standard power management mode"""
//| PM_AGGRESSIVE: int //| PM_AGGRESSIVE: int
//| """Aggressive power management mode for optimial power usage at the cost of performance""" //| """Aggressive power management mode for optimal power usage at the cost of performance"""
//| PM_PERFORMANCE: int //| PM_PERFORMANCE: int
//| """Performance power management mode where more power is used to increase performance""" //| """Performance power management mode where more power is used to increase performance"""
//| PM_DISABLED: int //| PM_DISABLED: int
//| """Disable power management and always use highest power mode. CircuitPython sets this value at reset time, because it provides the best reliability.""" //| """Disable power management and always use highest power mode. CircuitPython sets this value at reset time, because it provides the best connectivity reliability."""
//| //|
//| def set_power_management(value: int) -> None: //| def set_power_management(value: int) -> None:
//| """Set the power management register //| """Set the power management register
@ -78,7 +78,7 @@ const mp_obj_type_t cyw43_pin_type = {
//| The low 4 bits, ``m``, are the power management mode: //| The low 4 bits, ``m``, are the power management mode:
//| * 0: disabled //| * 0: disabled
//| * 1: aggressive power saving which reduces wifi throughput //| * 1: aggressive power saving which reduces wifi throughput
//| * 2: Power saving with High througput //| * 2: Power saving with high througput
//| //|
//| The next 8 bits, ``r``, specify "the maximum time to wait before going back to sleep" for power management mode 2. The units of ``r`` are 10ms. //| The next 8 bits, ``r``, specify "the maximum time to wait before going back to sleep" for power management mode 2. The units of ``r`` are 10ms.
//| //|