TMPM4KxA Group Peripheral Driver User Manual
V1.0.4.0
|
This file provides all the functions prototypes for T32A driver. More...
Go to the source code of this file.
Data Structures | |
struct | t32a_mode_t |
TimerA Mode Setting structure definenition. More... | |
struct | t32a_runx_t |
TimerA Run Control Setting structure definenition. More... | |
struct | t32a_crx_t |
Counter Register Control Setting structure definenition. More... | |
struct | t32a_outcrx0_t |
TimerA Output Control Setting structure definenition. More... | |
struct | t32a_outcrx1_t |
T32AxOUTA Control Setting structure definenition. More... | |
struct | t32a_capcrx_t |
Capture Control Setting structure definenition. More... | |
struct | t32a_rgx0_t |
T32A Timer Register x0 Setting structure definenition. More... | |
struct | t32a_rgx1_t |
T32A Timer Register x1 Setting structure definenition. More... | |
struct | t32a_tmrx_t |
T32A Counter Capture Register A Setting structure definenition. More... | |
struct | t32a_reldx_t |
T32A Counter Reload Register Setting structure definenition. More... | |
struct | t32a_capx0_t |
T32A Capture Register x0 Setting structure definenition. More... | |
struct | t32a_capx1_t |
T32A Capture Register x0 Setting structure definenition. More... | |
struct | t32a_imx_t |
Interrupt mask register Setting structure definenition. More... | |
struct | t32a_stx_t |
Status register structure definenition. More... | |
struct | t32a_dma_req_t |
DMA Request register setting structure definenition. More... | |
struct | t32a_pulse_cr_t |
Pulse Count Control register setting structure definenition. More... | |
struct | t32a_initial_setting_t |
Initial Timer setting structure definenition. More... | |
struct | t32a_initial_mode_t |
Initial Mode setting structure definenition. More... | |
struct | t32a_handle |
T32A handle structure definenition. More... | |
Typedefs | |
typedef struct t32a_handle | t32a_t |
T32A handle structure definenition. | |
Enumerations | |
enum | t32_type_t { T32A_TIMERA = 0, T32A_TIMERB, T32A_TIMERC, T32A_TIMERMAX } |
Use of Timer register. More... | |
enum | t32_regnum_t { T32A_REG0 = 0, T32A_REG1, T32A_RELOAD } |
Use of Timer register number. More... | |
enum | t32_mode_t { T32A_MATCH = 0, T32A_OVERFLOW, T32A_UNDERFLOW, T32A_CAPTURE0, T32A_CAPTURE1 } |
Use of Timer register. More... | |
enum | t32_triger_t { T32A_INTRG = 0, T32A_TIM_RISING_EDGE, T32A_TIM_TRAILING_EDGE, T32A_EXTTRG_RISING_EDGE, T32A_EXTTRG_TRAILING_EDGE } |
Use of Timer register. More... | |
Functions | |
TXZ_Result | t32a_mode_init (t32a_t *p_obj) |
Mode Initialize the T32A object. More... | |
TXZ_Result | t32a_timer_init (t32a_t *p_obj, uint32_t type) |
Initialize the T32A object. More... | |
TXZ_Result | t32a_deinit (t32a_t *p_obj, uint32_t type) |
Release the T32A object. More... | |
TXZ_Result | t32a_timer_stopIT (t32a_t *p_obj, uint32_t type) |
Timer Stop in interrupt mode. More... | |
TXZ_Result | t32a_timer_startIT (t32a_t *p_obj, uint32_t type) |
Timer Start in interrupt mode. More... | |
TXZ_Result | t32a_SWcounter_start (t32a_t *p_obj, uint32_t type) |
Timer Start in interrupt mode. More... | |
TXZ_Result | t32a_SWcounter_stop (t32a_t *p_obj, uint32_t type) |
Timer Stop in interrupt mode. More... | |
TXZ_Result | t32a_reg_set (t32a_t *p_obj, uint32_t type, uint32_t num, uint32_t value) |
Timer Register Value Setting. More... | |
TXZ_Result | t32a_tmr_read (t32a_t *p_obj, uint32_t type, uint32_t *p_val) |
Timer Register Value Read. More... | |
TXZ_Result | t32a_get_status (t32a_t *p_obj, uint32_t *p_status, uint32_t type) |
Get status. More... | |
void | t32a_timer_IRQHandler (t32a_t *p_obj) |
IRQ Handler for Timer interrupt. More... | |
void | t32a_timer_cap0_IRQHandler (t32a_t *p_obj) |
IRQ Timer Capture0 Handler for Timer Capture0 interrupt. More... | |
void | t32a_timer_cap1_IRQHandler (t32a_t *p_obj) |
IRQ Timer Capture1 Handler for Timer Capture1 interrupt. More... | |
TXZ_Result | t32a_Calculator (uint32_t *p_value, uint32_t time, uint32_t prescaler, uint32_t prscl) |
Calculate timer value to set timer register. More... | |
This file provides all the functions prototypes for T32A driver.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
(C)Copyright TOSHIBA MICROELECTRONICS CORPORATION 2017 All rights reserved