Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
GPIOInterruptInfo_t Struct Reference

GPIO 인터럽트에 관한 상세정보 More...

#include <nola-common.h>

Public Attributes

int8_t pin
 Pin number.
void * arg
 사용자 지정 인자 포인터
bool calledInISR
 콜백함수가 ISR 내에서 바로 불렸는지 여부
struct timeval timeEnteredISR
 인터럽트가 발생하고 MCU가 ISR에 진입했을 때의 timestamp.
uint32_t tickEnteredISR

Detailed Description

GPIO 인터럽트에 관한 상세정보

#attachInterrupt(int8_t, void(*)(GPIOInterruptInfo_t &), void *, int, bool) 사용시 이 구조체의 참조자가 전달됩니다.

Examples
nordic-nrf52-dk/SX1276-Tx/main.cpp, plm150/Radio-Rx/main.cpp, plm150/Radio-Tx/main.cpp, rak3172/Radio-Tx/main.cpp, st-nucleo-f429zi/SX1276-Rx/main.cpp, st-nucleo-f429zi/SX1276-Tx/main.cpp, st-nucleo-l152re/SX1276-Rx/main.cpp, and st-nucleo-l152re/SX1276-Tx/main.cpp.

Member Data Documentation

◆ timeEnteredISR

struct timeval GPIOInterruptInfo_t::timeEnteredISR

인터럽트가 발생하고 MCU가 ISR에 진입했을 때의 timestamp.

이 시간은 UTC 입니다.

Examples
plm150/Radio-Rx/main.cpp, plm150/Radio-Tx/main.cpp, and rak3172/Radio-Tx/main.cpp.

The documentation for this struct was generated from the following file: