File ns_timer_ap4.c
FileList > apollo4 > ns_timer_ap4.c
Go to the source code of this file
Apollo4-specific timer implementation. More...
#include "ns_timer.h"
#include "am_bsp.h"
#include "am_mcu_apollo.h"
#include "am_util.h"
#include "ns_core.h"
Public Attributes
Type | Name |
---|---|
ns_timer_config_t * | ns_timer_config |
Public Functions
Type | Name |
---|---|
void | am_timer01_isr (void) |
void | am_timer02_isr (void) |
void | am_timer03_isr (void) |
uint32_t | ns_timer_clear (ns_timer_config_t * cfg) Clear timer. |
uint32_t | ns_timer_platform_init (ns_timer_config_t * cfg) |
uint32_t | ns_us_ticker_read (ns_timer_config_t * cfg) Read current value of timer. |
Detailed Description
Author:
Carlos Morales
Version:
0.1
Date:
2022-10-11
Copyright:
Copyright (c) 2024
Public Attributes Documentation
variable ns_timer_config
ns_timer_config_t* ns_timer_config[NS_TIMER_TEMPCO+1];
Public Functions Documentation
function am_timer01_isr
void am_timer01_isr (
void
)
function am_timer02_isr
void am_timer02_isr (
void
)
function am_timer03_isr
void am_timer03_isr (
void
)
function ns_timer_clear
Clear timer.
uint32_t ns_timer_clear (
ns_timer_config_t * cfg
)
Parameters:
cfg
Returns:
uint32_t status
function ns_timer_platform_init
uint32_t ns_timer_platform_init (
ns_timer_config_t * cfg
)
function ns_us_ticker_read
Read current value of timer.
uint32_t ns_us_ticker_read (
ns_timer_config_t * cfg
)
Parameters:
cfg
Returns:
uint32_t timer if success, 0xDEADBEEF if bad handle
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-utils/src/apollo4/ns_timer_ap4.c