@CHIP-RTOS C Library V2.06 - Hardware API
pfe_enable_timer
Enable external timer inputs (TMRIN0, TMRIN1) or timer outputs
(TMROUT0, TMROUT1). If on a given timer the external input is selected,
then that timer's external output is not available and vice-versa. void pfe_enable_timer ( unsigned short mode ); Parameters
mode
- Mode
Bit 0..1 = 10 Enable TMRIN0
= 11 Enable TMROUT0
Bit 2..3 = 10 Enable TMRIN1
= 11 Enable TMROUT1
Bit 4..15 = don't care
Return Value
- -- none --.
Comments
- Used pins:
TMRIN[0..1], TMROUT[0..1]
SC1x Comments- Excluded pins:
if TMRIN0: A0, PCS1#, PIO4, TMROUT0
if TMRIN1: A[1..2], PCS5#, TMROUT1
if TMROUT0: PIO13, INT0, cascaded interrupt controller, TMRIN0
if TMROUT1: A[1..2], PCS5#, TMRIN1, PIO3
SC1x3 Comments- Excluded pins:
if TMRIN0: PIO11
if TMRIN1: PIO0
if TMROUT0: PIO10
if TMROUT1: PIO1
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|