알람
이 모듈에는 알람 서비스를 위한 플랫폼 추상화가 포함되어 있습니다.
요약
Functions |
|
---|---|
otPlatAlarmMicroFired(otInstance *aInstance)
|
void
알람이 울렸다는 신호입니다.
|
otPlatAlarmMicroGetNow(void)
|
uint32_t
현재 시간을 가져옵니다.
|
otPlatAlarmMicroStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt)
|
void
aT0 이후 aDt 마이크로초에 알람이 울리도록 설정하세요. |
otPlatAlarmMicroStop(otInstance *aInstance)
|
void
알람을 중지합니다.
|
otPlatAlarmMilliFired(otInstance *aInstance)
|
void
알람이 울렸다는 신호입니다.
|
otPlatAlarmMilliGetNow(void)
|
uint32_t
현재 시간을 가져옵니다.
|
otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt)
|
void
aT0 이후 aDt 밀리초에 알람이 울리도록 설정하세요. |
otPlatAlarmMilliStop(otInstance *aInstance)
|
void
알람을 중지합니다.
|
otPlatDiagAlarmFired(otInstance *aInstance)
|
void
알람이 실행된 신호 진단 모듈
|
Functions
OTPlatAlarmMicroFired
void otPlatAlarmMicroFired( otInstance *aInstance )
알람이 울렸다는 신호입니다.
세부정보 | |||
---|---|---|---|
매개변수 |
|
OTPlatAlarmMicroGetNow
uint32_t otPlatAlarmMicroGetNow( void )
현재 시간을 가져옵니다.
세부정보 | |
---|---|
반환 |
현재 시간(단위: 마이크로초)입니다.
|
OTPlatAlarmMicroStartAt
void otPlatAlarmMicroStartAt( otInstance *aInstance, uint32_t aT0, uint32_t aDt )
aT0
이후 aDt
마이크로초에 알람이 울리도록 설정하세요.
세부정보 | |||||||
---|---|---|---|---|---|---|---|
매개변수 |
|
OTPlatAlarmMicroStop
void otPlatAlarmMicroStop( otInstance *aInstance )
알람을 중지합니다.
세부정보 | |||
---|---|---|---|
매개변수 |
|
otPlatAlarmMilliFired
void otPlatAlarmMilliFired( otInstance *aInstance )
알람이 울렸다는 신호입니다.
세부정보 | |||
---|---|---|---|
매개변수 |
|
otPlatAlarmMilliGetNow
uint32_t otPlatAlarmMilliGetNow( void )
현재 시간을 가져옵니다.
세부정보 | |
---|---|
반환 |
현재 시간(밀리초)입니다.
|
otPlatAlarmMilliStartAt
void otPlatAlarmMilliStartAt( otInstance *aInstance, uint32_t aT0, uint32_t aDt )
aT0
이후 aDt
밀리초에 알람이 울리도록 설정하세요.
세부정보 | |||||||
---|---|---|---|---|---|---|---|
매개변수 |
|
otPlatAlarmMilliStop
void otPlatAlarmMilliStop( otInstance *aInstance )
알람을 중지합니다.
세부정보 | |||
---|---|---|---|
매개변수 |
|
otPlatDiagAlarmFired
void otPlatDiagAlarmFired( otInstance *aInstance )
알람이 실행된 신호 진단 모듈
세부정보 | |||
---|---|---|---|
매개변수 |
|
리소스
OpenThread API 참조 주제는 GitHub에서 제공되는 소스 코드에서 가져옵니다. 자세한 정보를 보거나 문서 작성에 참여하려면 리소스를 참고하세요.