MicroZed Chronicles リスト http://adiuvoengineering.com/?page_id=285
@ Adam Taylor blog
https://forums.xilinx.com/t5/Xcell-Daily-Blog/Introduction-to-the-Zynq-Triple-Timer-Counter-Part-Three-Adam/ba-p/413105
ヘッダーとしては以下を使う。
#include "xttcps.h"
...
we need to declare a data structure to contain the output frequency, interval, pre-scaler, and TTC options.
typedef struct {
u32 OutputHz; /* Output frequency */
u16 Interval; /* Interval value */
u8 Prescaler; /* Prescaler value */
u16 Options; /* Option settings */
} TmrCntrSetup;
初期値の例
static TmrCntrSetup SettingsTable[1] = {
{10, 0, 0, 0}, /* Ticker timer counter initial setup, only output freq */
};