๋ณด๋ : EFR32MG22
GPIO
LED0 : GPIOD2
LED1 : GPIOD3
BUTTON0 : GPIOB0
BUTTON2 : GPIOB1
- GPIO ์ธํ
// Configure Button PB1 as input and enable interrupt
GPIO_PinModeSet(BSP_GPIO_PB1_PORT, BSP_GPIO_PB1_PIN, gpioModeInputPull, 1);
GPIO_ExtIntConfig(BSP_GPIO_PB1_PORT,
BSP_GPIO_PB1_PIN,
BSP_GPIO_PB1_PIN,
false,
true,
true);
'F๐ปW > Coding' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| Atmega๋ก UART, SPI ํต์ ๊ตฌํ (0) | 2023.12.04 |
|---|---|
| ATMEGA UART ์ถ๋ ฅ (0) | 2023.11.21 |
| gpio mode ์ฐธ๊ณ (0) | 2023.07.10 |
| [STM32F030C6T6] Bootloader ๊ตฌํ (0) | 2023.03.30 |
| JSON Encoding/Decoding in C (0) | 2022.10.18 |
| ์๊ฐ๋ฝ ์ ์ค์ฒ(1~5) ํ์ต ๋ฐ ํ ์คํธ -> ๋ผ์ฆ๋ฒ ๋ฆฌํ์ด ์๋ฌ (0) | 2022.07.30 |