Skip to content

Commit

Permalink
docs/renesas-ra: Add pin drive keyword argument description.
Browse files Browse the repository at this point in the history
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
  • Loading branch information
TakeoTakahashi2020 authored and dpgeorge committed Aug 31, 2022
1 parent 2f2fd36 commit af100b7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/renesas-ra/quickref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,24 @@ Use the :ref:`machine.Pin <machine.Pin>` class::

Pin id is available corresponding to the RA MCU's pin name which are Pin.cpu.P106 and 'P106'. The RA MCU has many feature's pins. However, there are some cases that pin feature is fixed or not connected by the board. Please confirm the board manual for the pin mapping.

The following *drive* keyword argument are available if the port drive capability of the Pin is supported by the MCU::

Pin.DRIVE_0: Low drive
Pin.DRIVE_1: Middle drive
Pin.DRIVE_2: Middle drive for I2C Fast-mode
Pin.DRIVE_3: High drive

The *alt* keyword argument is not supported.

The following functions are not supported::

Pin.irq(priority=) # priority keyword argument is not supported
Pin.irq(wake=) # wake keyword argument is not supported
Pin.irq(hard=) # hard keyword argument is ignored because hardware interrupt is used
Pin.mode()
Pin.pull()
Pin.drive()

UART (serial bus)
-----------------

Expand Down

0 comments on commit af100b7

Please sign in to comment.