From 64ad8324a23074f01759d34eb5c0c9645340b495 Mon Sep 17 00:00:00 2001 From: Rubberazer <47650457+Rubberazer@users.noreply.github.com> Date: Sat, 18 Nov 2023 01:21:40 +0100 Subject: [PATCH] Update doxygen --- docs/html/jetgpio_8h.html | 2 +- jetgpio.h | 2 +- orin.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/html/jetgpio_8h.html b/docs/html/jetgpio_8h.html index 4a93bd0..7aa05fd 100644 --- a/docs/html/jetgpio_8h.html +++ b/docs/html/jetgpio_8h.html @@ -401,7 +401,7 @@

Parameters
- +
gpio(15 Orin only), 32, 33
frequency25Hz to 200 kHz
frequency25Hz to 200 kHz on Nano and 400 Hz to 1595 kHz on Orin
diff --git a/jetgpio.h b/jetgpio.h index b5cd543..1c9bfa3 100644 --- a/jetgpio.h +++ b/jetgpio.h @@ -496,7 +496,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency); /**< * @brief Sets the frequency in hertz to be used for the GPIO. * @param gpio (15 Orin only), 32, 33 - * @param frequency 25Hz to 200 kHz + * @param frequency 25Hz to 200 kHz on Nano and 400 Hz to 1595 kHz on Orin * @return Returns 1 if OK, a negative number otherwise * * @code gpioSetPWMfrequency(32, 10000); // Setting up PWM frequency=10kHz @ pin 32 @endcode diff --git a/orin.c b/orin.c index d8c3db8..ab7f22e 100644 --- a/orin.c +++ b/orin.c @@ -2101,7 +2101,7 @@ int gpioSetPWMfrequency(unsigned gpio, unsigned frequency) { printf("Only gpio numbers 15, 32 and 33 are accepted\n"); } } - else {printf("Only frequencies from 25 to 200000 Hz are allowed\n"); + else {printf("Only frequencies from 400 to 1595000 Hz are allowed\n"); status =-2;} return status; }