@@ -391,7 +391,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(rp2pio_statemachine_stop_obj, rp2pio_statemachine_stop
391
391
//| :param ~circuitpython_typing.ReadableBuffer buffer: Write out the data in this buffer
392
392
//| :param int start: Start of the slice of ``buffer`` to write out: ``buffer[start:end]``
393
393
//| :param int end: End of the slice; this index is not included. Defaults to ``len(buffer)``"""
394
- //| :param bool swap: For 2- and 4-byte elements, swap the byte order"""
394
+ //| :param bool swap: For 2- and 4-byte elements, swap (reverse) the byte order"""
395
395
//| ...
396
396
//|
397
397
STATIC mp_obj_t rp2pio_statemachine_write (size_t n_args , const mp_obj_t * pos_args , mp_map_t * kw_args ) {
@@ -467,7 +467,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(rp2pio_statemachine_write_obj, 2, rp2pio_statemachine
467
467
//|
468
468
//| :param ~Optional[circuitpython_typing.ReadableBuffer] once: Data to be written once
469
469
//| :param ~Optional[circuitpython_typing.ReadableBuffer] loop: Data to be written repeatedly
470
- //| :param bool swap: For 2- and 4-byte elements, swap the byte order"""
470
+ //| :param bool swap: For 2- and 4-byte elements, swap (reverse) the byte order
471
471
//| """
472
472
//| ...
473
473
//|
@@ -592,7 +592,7 @@ const mp_obj_property_t rp2pio_statemachine_pending_obj = {
592
592
//| :param ~circuitpython_typing.WriteableBuffer buffer: Read data into this buffer
593
593
//| :param int start: Start of the slice of ``buffer`` to read into: ``buffer[start:end]``
594
594
//| :param int end: End of the slice; this index is not included. Defaults to ``len(buffer)``
595
- //| :param bool swap: For 2- and 4-byte elements, swap the byte order"""
595
+ //| :param bool swap: For 2- and 4-byte elements, swap (reverse) the byte order"""
596
596
//| ...
597
597
//|
598
598
@@ -651,8 +651,8 @@ MP_DEFINE_CONST_FUN_OBJ_KW(rp2pio_statemachine_readinto_obj, 2, rp2pio_statemach
651
651
//| :param int out_end: End of the slice; this index is not included. Defaults to ``len(buffer_out)``
652
652
//| :param int in_start: Start of the slice of ``buffer_in`` to read into: ``buffer_in[in_start:in_end]``
653
653
//| :param int in_end: End of the slice; this index is not included. Defaults to ``len(buffer_in)``"""
654
- //| :param bool swap_out: For 2- and 4-byte elements, swap the byte order for the buffer being transmitted (written)"""
655
- //| :param bool swap_in: For 2- and 4-rx elements, swap the byte order for the buffer being received (read)"""
654
+ //| :param bool swap_out: For 2- and 4-byte elements, swap (reverse) the byte order for the buffer being transmitted (written)"""
655
+ //| :param bool swap_in: For 2- and 4-rx elements, swap (reverse) the byte order for the buffer being received (read)"""
656
656
//| ...
657
657
//|
658
658
0 commit comments