#include <stdint.h>
#include "wpi/hal/Types.h"
#include "wpi/util/string.h"
Go to the source code of this file.
◆ HALSIM_FreeAlerts()
Frees an array of alert information returned by HALSIM_GetAlerts.
- Parameters
-
| arr | array to free |
| length | number of alerts in arr (as returned by HALSIM_GetAlerts) |
◆ HALSIM_GetAlerts()
Gets detailed information about each alert.
- Parameters
-
| arr | array of information to be filled |
| length | length of arr |
- Returns
- Number of alerts; note: may be larger or smaller than passed-in length
◆ HALSIM_GetNumAlerts()
| int32_t HALSIM_GetNumAlerts |
( |
void | | ) |
|
Gets the number of alerts.
Note: this is not guaranteed to be consistent with the number of alerts returned by HALSIM_GetAlerts, so the latter's return value should be used to determine how many alerts were actually filled in.
- Returns
- the number of alerts
◆ HALSIM_ResetAlertData()
| void HALSIM_ResetAlertData |
( |
void | | ) |
|
Resets all alert simulation data.