diff options
Diffstat (limited to 'ports/atmel-samd/common-hal/microcontroller/Pin.h')
| -rw-r--r-- | ports/atmel-samd/common-hal/microcontroller/Pin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/atmel-samd/common-hal/microcontroller/Pin.h b/ports/atmel-samd/common-hal/microcontroller/Pin.h index ca639eb84..4e21a14cd 100644 --- a/ports/atmel-samd/common-hal/microcontroller/Pin.h +++ b/ports/atmel-samd/common-hal/microcontroller/Pin.h @@ -34,9 +34,8 @@ #include "include/component/sercom.h" typedef struct { - Sercom *const sercom; // SERCOM0, SERCOM1, etc. - uint8_t index; // 0, 1, etc. corresponding to SERCOM<n>. - uint8_t pad; // which of the four SERCOM pads to use + uint8_t index:6; // 0, 1, etc. corresponding to SERCOM<n>. + uint8_t pad:2; // which of the four SERCOM pads to use } pin_sercom_t; typedef struct { |
