|
|
|
@ -88,6 +88,17 @@ typedef uint16_t gpio_t;
|
|
|
|
|
#define PERIPH_SPI_NEEDS_TRANSFER_REGS |
|
|
|
|
/** @} */ |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief define number of usable power modes |
|
|
|
|
*/ |
|
|
|
|
#define PM_NUM_MODES (1U) |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Override the default initial PM blocker |
|
|
|
|
* @todo we block all modes per default, until PM is cleanly implemented |
|
|
|
|
*/ |
|
|
|
|
#define PM_BLOCKER_INITIAL { .val_u32 = 0x01010101 } |
|
|
|
|
|
|
|
|
|
#ifndef DOXYGEN |
|
|
|
|
/**
|
|
|
|
|
* @brief Override GPIO modes |
|
|
|
@ -291,11 +302,6 @@ enum {
|
|
|
|
|
*/ |
|
|
|
|
void gpio_init_port(gpio_t pin, uint32_t pcr); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief define number of usable power modes |
|
|
|
|
*/ |
|
|
|
|
#define PM_NUM_MODES (1U) |
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|