Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
jmPulse.c File Reference
Go to the source code of this file.
Functions | |
| void | PulseInit (void) |
| Module Data Structure Initialization. | |
| void | cli_PulseStop (void) |
| Stop one or all pulse Machines. | |
| void | cli_Pulse (void) |
| Module Pulse Command Line Interface. | |
| void | SetPulseParam (uint8_t num, uint16_t pin, uint8_t tOn, uint8_t tOff, uint16_t cycles) |
| Module Parameter Setting Function. | |
| void | cli_GPPP0 (void) |
| Module Get Module Process Properties Command Line Interface. | |
| void | rGPPP0 (unsigned int id) |
| Public Properties Message. | |
Detailed Description
- Version:
- 1.0
- Date:
- Feb 12, 2011
Definition in file jmPulse.c.
Function Documentation
| void cli_GPPP0 | ( | void | ) |
| void cli_Pulse | ( | void | ) |
| void cli_PulseStop | ( | void | ) |
| void PulseInit | ( | void | ) |
| void rGPPP0 | ( | unsigned int | id ) |
| void SetPulseParam | ( | uint8_t | num, |
| uint16_t | pin, | ||
| uint8_t | tOn, | ||
| uint8_t | tOff, | ||
| uint16_t | cycles | ||
| ) |
Module Parameter Setting Function.
Enables PWM/pulse State Machine, Also sets mbed pin as outputs.
- Parameters:
-
[in] num pulse controller number (value)0..7 [in] pin pin id (value)0..432 [in] tOn on time interval in ticks (tOn)0..255 [in] tOff off time interval in ticks (tOff)0..255 [in] cycles repetition number of tOn-tOff cycles [in] state set state: inactive, pulse, high, low
- Returns:
- Return Message: GPPP0 id pin state
Generated on Sat Jul 16 2022 00:01:14 by
1.7.2