|
rtems_status_code | lpc176x_timer_reset (lpc176x_timer_number tnumber) |
| resets timer counter and stops it. More...
|
|
rtems_status_code | lpc176x_timer_set_mode (lpc176x_timer_number tnumber, lpc176x_timer_mode mode) |
| Sets mode of the timer (timer, counter rising, counter falling or counter both edges) More...
|
|
rtems_status_code | lpc176x_timer_start (lpc176x_timer_number tnumber) |
| Starts the timer counter. More...
|
|
rtems_status_code | lpc176x_timer_is_started (lpc176x_timer_number tnumber, bool *is_started) |
| true if timer is started. More...
|
|
rtems_status_code | lpc176x_timer_set_resolution (lpc176x_timer_number tnumber, lpc176x_microseconds resolution) |
| sets the resolution in microseconds of the timer More...
|
|
rtems_status_code | lpc176x_timer_match_config (lpc176x_timer_number tnumber, lpc176x_match_port match_port, lpc176x_match_function function, uint32_t match_value) |
| Configures the timer match. More...
|
|
rtems_status_code | lpc176x_timer_capture_config (lpc176x_timer_number tnumber, lpc176x_capture_port capture_port, lpc176x_capture_function function) |
| Configures the capture ports. More...
|
|
rtems_status_code | lpc176x_timer_external_match_config (lpc176x_timer_number tnumber, lpc176x_match_port match_port, lpc176x_ext_match_function function) |
| Configures the external match ports. More...
|
|
uint32_t | lpc176x_timer_get_capvalue (lpc176x_timer_number tnumber, lpc176x_capture_port capnumber) |
| Gets the captured value. More...
|
|
uint32_t | lpc176x_timer_get_timer_value (lpc176x_timer_number tnumber) |
| Gets the timer value. More...
|
|
rtems_status_code | lpc176x_timer_set_timer_value (lpc176x_timer_number tnumber, uint32_t lpc176x_timer_value) |
| Sets the timer value. More...
|
|
void | lpc176x_timer_isr (void *lpc176x_timer_number) |
| Timer generic isroutine. More...
|
|
rtems_status_code | lpc176x_timer_init (lpc176x_timer_number tnumber) |
| Initializes timer in timer mode and resets counter but without starting it, and without any capture or match function. More...
|
|
rtems_status_code | lpc176x_timer_init_with_interrupt (lpc176x_timer_number tnumber, const lpc176x_isr_funct_vector *vector) |
| Initializes timer in timer mode and resets counter but without starting it, and without any capture or match function. More...
|
|
Timer API for the lpc176x bsp.