Interface: tos.chips.atm128.timer.HplAtm128TimerCtrl16

interface HplAtm128TimerCtrl16

HPL Interface to Atmega128 16-bit timer control registers

Author:
Martin Turon <mturon@xbow.com>

Commands
command Atm128TimerCtrlCapture_t getCtrlCapture()
command Atm128TimerCtrlClock_t getCtrlClock()
command Atm128TimerCtrlCompare_t getCtrlCompare() Timer control registers: Direct access
command Atm128_ETIFR_t getInterruptFlag() Interrupt flag register: Direct access
command Atm128_ETIMSK_t getInterruptMask() Interrupt mask register: Direct access
command void setCtrlCapture(Atm128TimerCtrlCapture_t control)
command void setCtrlClock(Atm128TimerCtrlClock_t control)
command void setCtrlCompare(Atm128TimerCtrlCompare_t control)
command void setInterruptFlag(Atm128_ETIFR_t flags)
command void setInterruptMask(Atm128_ETIMSK_t mask)

Commands - Details

getCtrlCapture

command Atm128TimerCtrlCapture_t getCtrlCapture()

getCtrlClock

command Atm128TimerCtrlClock_t getCtrlClock()

getCtrlCompare

command Atm128TimerCtrlCompare_t getCtrlCompare()

Timer control registers: Direct access

getInterruptFlag

command Atm128_ETIFR_t getInterruptFlag()

Interrupt flag register: Direct access

getInterruptMask

command Atm128_ETIMSK_t getInterruptMask()

Interrupt mask register: Direct access

setCtrlCapture

command void setCtrlCapture(Atm128TimerCtrlCapture_t control)

setCtrlClock

command void setCtrlClock(Atm128TimerCtrlClock_t control)

setCtrlCompare

command void setCtrlCompare(Atm128TimerCtrlCompare_t control)

setInterruptFlag

command void setInterruptFlag(Atm128_ETIFR_t flags)

setInterruptMask

command void setInterruptMask(Atm128_ETIMSK_t mask)