This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001787] GPIO Interrupt Support for Kinetis


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 <ilijak@siva.com.mk> ---
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]