Fujitsu MB91F465XA Application Note page 38

32-bit microcontroller
Table of Contents

Advertisement

/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES.
/*
...
void
Init_rldtmr_3 (uint16_t rldvalue, uint16_t setup){
TMCSR3_CNTE = 0;
TMRLR3 = rldvalue;
TMCSR3 = setup;
}
void
start_rldtmr_3 (void){
TMCSR3_TRG = 1;
}
void
enable_rldtmr_3 (void){
TMCSR3_CNTE = 1;
}
...
MCU-AN-300015-E-V11
MB91F465XA EMULATION
Chapter 5 Appendix
(C) Fujitsu Microelectronics Europe GmbH
/* stop reload Timer */
/* set reload value */
/* start count operation */
/* enable reload Timer operation (waiting for trigger) */
Figure 5-2: Reload Timer functions
- 36 -
© Fujitsu Microelectronics Europe GmbH
*/
*/

Advertisement

Table of Contents
loading

Table of Contents