Peripheral CPU definitions for the RP2350. More...
Peripheral CPU definitions for the RP2350.
Definition in file periph_cpu.h.
#include <stdbool.h>#include <stdint.h>#include "RP2350.h"#include "clock_conf.h"#include "cpu.h"#include "gpio_conf.h"#include "helpers.h"#include "uart_conf.h"#include "periph/gpio.h"
 Include dependency graph for periph_cpu.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| #define | HAVE_GPIO_T | 
| Overwrite the default GPIO type to use uint32_t.  | |
| #define | OSC_DEBUG_PIN_ID 15u | 
| GPIO Pin ID for oscillator debugging.  | |
| #define | RESET_PLL_SYS (1u << 14u) | 
| Reset bit for the system PLL.  | |
| #define | RESET_PADS_BANK0 (1u << 9u) | 
| Reset bit for the pads bank 0.  | |
| #define | RESET_UART0 (1u << 26u) | 
| Reset bit for UART0 peripheral.  | |
| #define | RESET_UART1 (1u << 27u) | 
| Reset bit for UART1 peripheral.  | |
| #define | RESET_IO_BANK0 (1u << 6u) | 
| Reset bit for the IO bank 0.  | |
| #define | PADS_BANK0_GPIO0_IE_BITS (1u << 6u) | 
| Input enable bit for GPIO0 in PADS_BANK0.  | |
| #define | PADS_BANK0_ISO_BITS (1u << 8u) | 
| Isolation bits for PADS_BANK0.  | |
| typedef uint32_t | gpio_t | 
| static uint32_t | calculate_gpio_pad_register_addr (gpio_t pin) | 
| Calculate the address of the GPIO pad register for a given pin.  More... | |
| static uint32_t | calculate_gpio_io_status_register_addr (gpio_t pin) | 
| Calculate the address of the GPIO IO status register for a given pin.  More... | |
| static uint32_t | calculate_gpio_io_ctrl_register_addr (gpio_t pin) | 
| Calculate the address of the GPIO IO control register for a given pin.  More... | |
      
  | 
  inlinestatic | 
Calculate the address of the GPIO IO control register for a given pin.
| pin | The GPIO pin number | 
Definition at line 91 of file periph_cpu.h.
      
  | 
  static | 
Calculate the address of the GPIO IO status register for a given pin.
| pin | The GPIO pin number | 
Definition at line 80 of file periph_cpu.h.
      
  | 
  inlinestatic | 
Calculate the address of the GPIO pad register for a given pin.
| pin | The GPIO pin number | 
Definition at line 68 of file periph_cpu.h.