|
Nol.A SDK Library
25.8.1
For IoT System Software Development
|
Classes | |
| class | SX1276 |
Public Member Functions | |
| void | getEUI (uint8_t *dst) |
| EUI-64를 가져옵니다. More... | |
| bool | forceEnterBootloader (bool enable) override |
| 다음 부팅시 부트로더로 강제 진입하게 합니다. More... | |
Public Member Functions inherited from McuNRF52 | |
| McuNRF52 (uint32_t clockHz, int adcRef) | |
| int32_t | getSupplyVoltage () |
| MCU에 공급되는 전압을 구합니다. (단위: mV) | |
| uint32_t | getResetReason () |
| 마지막으로 리셋된 원인을 가져옵니다. More... | |
Public Member Functions inherited from McuNRF51 | |
| McuNRF51 (uint32_t clockHz, int adcRef) | |
| void | feedWatchdog () override |
| Watchdog reset을 방지하기 위하여 watchdog에 신호를 줍니다. More... | |
| uint32_t | getSystickCount () |
| Get system tick count. | |
| void | waitSystick (uint32_t startTick, uint32_t numTicks) |
Wait numTicks from startTick. | |
| uint32_t | MicrosToSystick (uint32_t usec) override |
| uint32_t | SystickToMicros (uint32_t ticks) override |
| uint32_t | getResetReason () |
| 마지막으로 리셋된 원인을 가져옵니다. More... | |
| void | getTimeSinceBoot (struct timeval *tv) override |
| 보드 부팅 이후부터 현재까지의 경과 시간을 구합니다. More... | |
Public Member Functions inherited from McuARMCortexM | |
| McuARMCortexM (uint32_t clockHz, uint32_t systickHz, uint32_t maxSystickCount) | |
| const CoreRegisterDump * | getLastCoreRegisterDump () |
| void | saveCoreRegisterValues (uint32_t r0, uint32_t r1, uint32_t r2, uint32_t r3, uint32_t r12, uint32_t lr, uint32_t pc, uint32_t psr) |
Public Member Functions inherited from McuGeneric | |
| McuGeneric (uint32_t clockHz, uint32_t systickHz, uint32_t maxSystickCount) | |
Public Member Functions inherited from RTCCalendar | |
| void | getDateTime (struct tm &t) |
| 현재 로컬 시간을 가져옵니다. More... | |
| time_t | getDateTime () |
| 현재 로컬 시간을 가져옵니다. More... | |
| void | getUTC (struct tm &t) |
| 현재 UTC 시간을 가져옵니다. More... | |
| time_t | getUTC () |
| 현재 UTC 시간을 가져옵니다. More... | |
| void | setDateTime (struct tm &t) |
| 현재 로컬 시간을 설정합니다. More... | |
| void | setDateTime (time_t t) |
| 현재 로컬 시간을 설정합니다. More... | |
| void | setUTC (struct tm &t) |
| 현재 UTC 시간을 설정합니다. More... | |
| void | setUTC (time_t t) |
| 현재 UTC 시간을 설정합니다. More... | |
| void | setDateTimeAlarm (struct tm &t) |
| 현재 로컬 시간을 기준으로 알람을 설정합니다. More... | |
| void | setDateTimeAlarm (time_t t) |
| 현재 로컬 시간을 기준으로 알람을 설정합니다. More... | |
| error_t | setTimeAlarm (uint8_t hour, uint8_t min, uint8_t sec=0) |
| 현재 로컬 시간을 기준으로 알람을 설정합니다. More... | |
| void | onDateTimeAlarm (void(*func)()) |
| 알람 발생시 호출될 콜백함수를 지정합니다. More... | |
| void | setTimeDiff (int16_t diffMinutes) |
| UTC와 로컬 시간과의 차이를 분 단위로 지정합니다. More... | |
| int16_t | getTimeDiff () |
| UTC와 로컬 시간과의 차이를 반환합니다. More... | |
| virtual void | signalAlarm () |
Public Member Functions inherited from StandardPrintable | |
| StandardPrintable (Print *out, Print *err) | |
| StandardPrintable (Print *common) | |
Additional Inherited Members | |
Public Types inherited from McuNRF52 | |
| enum | { RESET_REASON_NFC = (1ul << 19) } |
| enum | AdcReference_t { VREF_INTERNAL3V6 = 0 , VREF_INTERNAL3V = 1 , VREF_INTERNAL2V4 = 2 , VREF_INTERNAL1V8 = 3 , VREF_INTERNAL1V2 = 4 , VREF_INTERNAL0V6 = 5 , VREF_INTERNAL0V3 = 6 , VREF_INTERNAL0V15 = 7 , VREF_INTERNALVDD_6div4 = 8 , VREF_INTERNALVDD_5div4 = 9 , VREF_INTERNALVDD = 10 , VREF_INTERNALVDD_3div4 = 11 , VREF_INTERNALVDD_2div4 = 12 , VREF_INTERNALVDD_1div4 = 13 , VREF_INTERNALVDD_1div8 = 14 , VREF_INTERNALVDD_1div16 = 15 , VREF_DEFAULT = 2 , VREF_INTERNAL = 2 } |
| ADC (analogRead()) 기준 전압 More... | |
Public Types inherited from McuNRF51 | |
| enum | { RESET_REASON_RESETPIN = (1ul << 0) , RESET_REASON_DOG = (1ul << 1) , RESET_REASON_SREQ = (1ul << 2) , RESET_REASON_LOCKUP = (1ul << 3) , RESET_REASON_OFF = (1ul << 16) , RESET_REASON_LPCOMP = (1ul << 17) , RESET_REASON_DIF = (1ul << 18) } |
| enum | AdcReference_t { VREF_INTERNAL1V2 = 0 , VREF_INTERNAL1V8 = 1 , VREF_INTERNAL3V6 = 2 , VREF_INTERNALVDD = 3 , VREF_INTERNALVDD_3div6 = 4 , VREF_INTERNALVDD_1div3 = 5 , VREF_INTERNALVDD_3div2 = 6 , VREF_INTERNALVDD_3div4 = 7 , VREF_INTERNALVDD_1div2 = 8 , VREF_EXTERNAL1_3div1 = 9 , VREF_EXTERNAL1_3div2 = 10 , VREF_EXTERNAL1 = 11 , VREF_EXTERNAL2_3div1 = 12 , VREF_EXTERNAL2_3div2 = 13 , VREF_EXTERNAL2 = 14 , VREF_DEFAULT = 2 , VREF_INTERNAL = 2 } |
| ADC (analogRead()) 기준 전압 More... | |
Public Attributes inherited from McuGeneric | |
| const uint32_t | CLOCK_HZ |
| CPU clock frequency in unit of Hz. | |
| const uint32_t | SYSTICK_HZ |
| System tick frequency in unit of Hz. | |
| const uint32_t | MAX_SYSTICK_COUNT |
| Maximum value of systick counter. | |
| bool | useSleep = true |
| true 이면 MCU가 유휴(idle) 상태일 때 저전력을 위하여 sleep 합니다. More... | |
Public Attributes inherited from StandardPrintable | |
| Print * | out = nullptr |
| 표준 출력 장치 More... | |
| Print * | err = nullptr |
| 표준 오류 출력 장치 More... | |
Protected Member Functions inherited from McuNRF52 | |
| int32_t | analogRead (int8_t pin) |
| uint16_t | readSAADC (uint8_t pSelP, uint8_t pSelN, uint32_t conf) |
Protected Member Functions inherited from McuNRF51 | |
| void | analogWrite (int pin, int32_t val) |
| void | tone (int pin, uint32_t frequency) |
| void | noTone (int pin) |
| int32_t | analogRead (int8_t pin) |
| void | getUTCFromHardware (uint16_t *year, uint8_t *month, uint8_t *day, uint8_t *hour, uint8_t *min, uint8_t *sec, uint32_t *subsec=NULL) override |
| void | setUTCToHardware (uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t min, uint8_t sec, int32_t subsec=-1) override |
| void | setUTCAlarmToHardware (uint8_t hour, uint8_t min, uint8_t sec) override |
Protected Attributes inherited from McuNRF51 | |
| uint32_t | resetReason |
| uint8_t | adcResolutionBits = 12 |
| int | adcReference |
| uint64_t | nextAlarm = 0 |
| uint64_t | countSeconds = 0 |
| HardwareTimerTick_t | countAtLastSec = 0 |
| struct timeval | bootTime |
Protected Attributes inherited from RTCCalendar | |
| void(* | handlerAlarm )() |
|
overridevirtual |
다음 부팅시 부트로더로 강제 진입하게 합니다.
| enable | 강제 진입 여부 |
Implements BootloaderSupportable.
| void SystemPLM100S::getEUI | ( | uint8_t * | dst | ) |
EUI-64를 가져옵니다.
| dst | [out] EUI-64가 저장될 포인터 |
EUI-64는 MSB first 순입니다.