[Bug 1001787] GPIO Interrupt Support for Kinetis

[email protected]
Newsgroups gmane.os.ecos.patches
Message-ID <[email protected]/>
Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001787

--- Comment #5 from Ilija Kocho <[email protected]> ---
Mike

If we are going to implement some GPIO API functions than why we don't accept
what's already there. I am looking STM32 where API functions use PIN descriptor
as a paremeyter rather han port/bit pair. It would be good if we have more or
less compatible API. The drawback is that CYGHWR_HAL_KINETIS_PIN_CFG() has more
parameters than we need for GPIO, but we can resolve that by defining another
macro.

Please look at STM32 _hal_stm32_gpio_xxx() functions and tell me what do you
think. In my view if we remove stm32 from name the names may be universal:

_hal_gpio_xxx();

Ilija

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.