analogdevicesinc / arduino-max326xx

Arduino core for Maxim's MAX326xx series boards
Apache License 2.0
2 stars 1 forks source link

Low-level pin register query macros issue #11

Closed MagSem closed 1 year ago

MagSem commented 5 years ago

Many libraries (for example, graphics libs UTFT and ucglib ) do not compile due to the lack of a low-level macros block in Maxim Integrateds variant.h.

These macros are missing: // Low-level pin register query macros // -----------------------------------

define digitalPinToPort(P) (&(PORT->Group[g_APinDescription[P].ulPort]))

define digitalPinToBitMask(P) (1 << g_APinDescription[P].ulPin)

//#define analogInPinToBit(P) ()

define portOutputRegister(port) (&(port->OUT.reg))

define portInputRegister(port) (&(port->IN.reg))

define portModeRegister(port) (&(port->DIR.reg))

define digitalPinHasPWM(P) (g_APinDescription[P].ulPWMChannel != NOT_ON_PWM || g_APinDescription[P].ulTCChannel != NOT_ON_TIMER)

Gerriko commented 4 years ago

Hello is anybody out there... or is this board now "abandonware" considering that this was raised over 1 year ago and no response or fix from Maxim Integrated.

MagSem commented 4 years ago

Yes, they thought it was enough to make a good board, and programmers are optional.

jessexm commented 1 year ago

arduino-max326xx repo has been archived and is now read only.