![]() |
RTEMS 6.3
|
#include "chip.h"#include <stdint.h>Go to the source code of this file.
Functions | |
| void | RTT_SetPrescaler (Rtt *pRtt, uint16_t wPrescaler) |
| Changes the prescaler value of the given RTT and restarts it. | |
| uint32_t | RTT_GetTime (Rtt *pRtt) |
| Returns the current value of the RTT timer value. | |
| void | RTT_EnableIT (Rtt *pRtt, uint32_t dwSources) |
| Enables the specified RTT interrupt sources. | |
| uint32_t | RTT_GetStatus (Rtt *pRtt) |
| Returns the status register value of the given RTT. | |
| void | RTT_SetAlarm (Rtt *pRtt, uint32_t dwTime) |
| Configures the RTT to generate an alarm at the given time. | |
Interface for Real Time Timer (RTT) controller.
|
extern |
Enables the specified RTT interrupt sources.
| rtt | Pointer to a Rtt instance. |
| sources | Bitmask of interrupts to enable. |
|
extern |
Returns the status register value of the given RTT.
| rtt | Pointer to an Rtt instance. |
|
extern |
Returns the current value of the RTT timer value.
| rtt | Pointer to a Rtt instance. |
|
extern |
Configures the RTT to generate an alarm at the given time.
| pRtt | Pointer to an Rtt instance. |
| time | Alarm time. |