🎨 Misc. comment open
This commit is contained in:
@@ -318,7 +318,7 @@ void SPIClass::dmaSend(void *buf, uint16_t length, bool minc) {
|
|||||||
// Enable DMA
|
// Enable DMA
|
||||||
GPDMA_ChannelCmd(0, ENABLE);
|
GPDMA_ChannelCmd(0, ENABLE);
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Observed behaviour on normal data transfer completion (SKR 1.3 board / LPC1768 MCU)
|
* Observed behaviour on normal data transfer completion (SKR 1.3 board / LPC1768 MCU)
|
||||||
* GPDMA_STAT_INTTC flag is SET
|
* GPDMA_STAT_INTTC flag is SET
|
||||||
* GPDMA_STAT_INTERR flag is NOT SET
|
* GPDMA_STAT_INTERR flag is NOT SET
|
||||||
|
@@ -129,7 +129,7 @@
|
|||||||
* Added as necessary or if I feel like it- not a comprehensive list!
|
* Added as necessary or if I feel like it- not a comprehensive list!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Some of these share the same source and so can't be used in the same time
|
* Some of these share the same source and so can't be used in the same time
|
||||||
*/
|
*/
|
||||||
#define PWM_PIN(P) (WITHIN(P, 2, 13) || WITHIN(P, 22, 23) || WITHIN(P, 44, 45) || P == 48)
|
#define PWM_PIN(P) (WITHIN(P, 2, 13) || WITHIN(P, 22, 23) || WITHIN(P, 44, 45) || P == 48)
|
||||||
|
@@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
#ifdef ADAFRUIT_GRAND_CENTRAL_M4
|
#ifdef ADAFRUIT_GRAND_CENTRAL_M4
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Adafruit Grand Central M4 has a lot of PWMs the availables are listed here.
|
* Adafruit Grand Central M4 has a lot of PWMs the availables are listed here.
|
||||||
* Some of these share the same source and so can't be used in the same time
|
* Some of these share the same source and so can't be used in the same time
|
||||||
*/
|
*/
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
|
|
||||||
#define digitalPinToAnalogInput(P) (WITHIN(P, 67, 74) ? (P) - 67 : WITHIN(P, 54, 61) ? 8 + (P) - 54 : WITHIN(P, 12, 13) ? 16 + (P) - 12 : P == 9 ? 18 : -1)
|
#define digitalPinToAnalogInput(P) (WITHIN(P, 67, 74) ? (P) - 67 : WITHIN(P, 54, 61) ? 8 + (P) - 54 : WITHIN(P, 12, 13) ? 16 + (P) - 12 : P == 9 ? 18 : -1)
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* pins
|
* pins
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#ifdef ADAFRUIT_GRAND_CENTRAL_M4
|
#ifdef ADAFRUIT_GRAND_CENTRAL_M4
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* AGCM4 Default SPI Pins
|
* AGCM4 Default SPI Pins
|
||||||
*
|
*
|
||||||
* SS SCK MISO MOSI
|
* SS SCK MISO MOSI
|
||||||
|
@@ -58,7 +58,7 @@
|
|||||||
#define SPI_CLOCK_DIV128 SPI_BAUD_PCLK_DIV_128
|
#define SPI_CLOCK_DIV128 SPI_BAUD_PCLK_DIV_128
|
||||||
#define SPI_CLOCK_DIV256 SPI_BAUD_PCLK_DIV_256
|
#define SPI_CLOCK_DIV256 SPI_BAUD_PCLK_DIV_256
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Roger Clark. 20150106
|
* Roger Clark. 20150106
|
||||||
* Commented out redundant AVR defined
|
* Commented out redundant AVR defined
|
||||||
*
|
*
|
||||||
@@ -153,7 +153,7 @@ private:
|
|||||||
friend class SPIClass;
|
friend class SPIClass;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Kept for compat.
|
* Kept for compat.
|
||||||
*/
|
*/
|
||||||
static const uint8_t ff = 0xFF;
|
static const uint8_t ff = 0xFF;
|
||||||
@@ -233,7 +233,7 @@ public:
|
|||||||
void onReceive(void(*)());
|
void onReceive(void(*)());
|
||||||
void onTransmit(void(*)());
|
void onTransmit(void(*)());
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* I/O
|
* I/O
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -314,7 +314,7 @@ public:
|
|||||||
uint8_t dmaSendRepeat(uint16_t length);
|
uint8_t dmaSendRepeat(uint16_t length);
|
||||||
|
|
||||||
uint8_t dmaSendAsync(const void * transmitBuf, uint16_t length, bool minc = 1);
|
uint8_t dmaSendAsync(const void * transmitBuf, uint16_t length, bool minc = 1);
|
||||||
/*
|
/**
|
||||||
* Pin accessors
|
* Pin accessors
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -398,7 +398,7 @@ private:
|
|||||||
|
|
||||||
void updateSettings();
|
void updateSettings();
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Functions added for DMA transfers with Callback.
|
* Functions added for DMA transfers with Callback.
|
||||||
* Experimental.
|
* Experimental.
|
||||||
*/
|
*/
|
||||||
|
@@ -105,7 +105,7 @@ void LEDLights::setup() {
|
|||||||
PCA9632_set_led_color(curColor); // blackout
|
PCA9632_set_led_color(curColor); // blackout
|
||||||
delay(200);
|
delay(200);
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* LED Pin Counter steps -> events
|
* LED Pin Counter steps -> events
|
||||||
* | 0-100 | 100-200 | 200-300 | 300-400 |
|
* | 0-100 | 100-200 | 200-300 | 300-400 |
|
||||||
* fade in steady | fade out
|
* fade in steady | fade out
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* Marlin 3D Printer Firmware
|
||||||
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
*
|
*
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* Marlin 3D Printer Firmware
|
||||||
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
*
|
*
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Driver for the PCA9533 LED controller found on the MightyBoard
|
* Driver for the PCA9533 LED controller found on the MightyBoard
|
||||||
* used by FlashForge Creator Pro, MakerBot, etc.
|
* used by FlashForge Creator Pro, MakerBot, etc.
|
||||||
* Written 2020 APR 01 by grauerfuchs
|
* Written 2020 APR 01 by grauerfuchs
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* MeatPack G-code Compression
|
* MeatPack G-code Compression
|
||||||
*
|
*
|
||||||
* Algorithm & Implementation: Scott Mudge - mail@scottmudge.com
|
* Algorithm & Implementation: Scott Mudge - mail@scottmudge.com
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* Marlin 3D Printer Firmware
|
||||||
* Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
* Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
*
|
*
|
||||||
|
@@ -59,7 +59,7 @@ uint32_t SPIFlashStorage::m_startAddress;
|
|||||||
while (index < inputLength && index - count < max && input[index] == pixel)
|
while (index < inputLength && index - count < max && input[index] == pixel)
|
||||||
index++;
|
index++;
|
||||||
if (index - count == 1) {
|
if (index - count == 1) {
|
||||||
/*
|
/**
|
||||||
* Failed to "replicate" the current pixel. See how many to copy.
|
* Failed to "replicate" the current pixel. See how many to copy.
|
||||||
* Avoid a replicate run of only 2-pixels after a literal run. There
|
* Avoid a replicate run of only 2-pixels after a literal run. There
|
||||||
* is no gain in this, and there is a risK of loss if the run after
|
* is no gain in this, and there is a risK of loss if the run after
|
||||||
@@ -68,7 +68,7 @@ uint32_t SPIFlashStorage::m_startAddress;
|
|||||||
*/
|
*/
|
||||||
while (index < inputLength && index - count < max && (input[index] != input[index - 1] || (index > 1 && input[index] != input[index - 2])))
|
while (index < inputLength && index - count < max && (input[index] != input[index - 1] || (index > 1 && input[index] != input[index - 2])))
|
||||||
index++;
|
index++;
|
||||||
/*
|
/**
|
||||||
* Check why this run stopped. If it found two identical pixels, reset
|
* Check why this run stopped. If it found two identical pixels, reset
|
||||||
* the index so we can add a run. Do this twice: the previous run
|
* the index so we can add a run. Do this twice: the previous run
|
||||||
* tried to detect a replicate run of at least 3 pixels. So we may be
|
* tried to detect a replicate run of at least 3 pixels. So we may be
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#define NO_GLYPH 0xFF
|
#define NO_GLYPH 0xFF
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Marlin fonts with optional antialiasing. Fonts use unifont_t font header and glyph_t glyphs headers.
|
* Marlin fonts with optional antialiasing. Fonts use unifont_t font header and glyph_t glyphs headers.
|
||||||
* Number of glyphs (fontEndEncoding - fontStartEncoding) can not exceed 256 (TBD).
|
* Number of glyphs (fontEndEncoding - fontStartEncoding) can not exceed 256 (TBD).
|
||||||
* Some glyphs may be left undefined with NO_GLYPH
|
* Some glyphs may be left undefined with NO_GLYPH
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
#define FONT_MARLIN_GLYPHS_2BPP 0x82
|
#define FONT_MARLIN_GLYPHS_2BPP 0x82
|
||||||
#define FONT_MARLIN_GLYPHS_4BPP 0x84
|
#define FONT_MARLIN_GLYPHS_4BPP 0x84
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* TFT fonts with optional antialiasing. Fonts use unifont_t font header and uniglyph_t glyphs headers.
|
* TFT fonts with optional antialiasing. Fonts use unifont_t font header and uniglyph_t glyphs headers.
|
||||||
* Each glyph is prepended with its unicode.
|
* Each glyph is prepended with its unicode.
|
||||||
* Designed to be used for Japanese, Korean, Simplified Chinese and Traditional Chinese glyphs.
|
* Designed to be used for Japanese, Korean, Simplified Chinese and Traditional Chinese glyphs.
|
||||||
|
@@ -2411,7 +2411,7 @@ hal_timer_t Stepper::block_phase_isr() {
|
|||||||
}
|
}
|
||||||
#endif // LIN_ADVANCE
|
#endif // LIN_ADVANCE
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Adjust Laser Power - Decelerating
|
* Adjust Laser Power - Decelerating
|
||||||
* trap_ramp_entry_decr - holds the precalculated value to decrease the current power per decel step.
|
* trap_ramp_entry_decr - holds the precalculated value to decrease the current power per decel step.
|
||||||
*/
|
*/
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
//#include "output_table.h"
|
//#include "output_table.h"
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* A: -0.000480634
|
* A: -0.000480634
|
||||||
* B: 0.00031362
|
* B: 0.00031362
|
||||||
|
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
#include "pins_CHITU3D_common.h"
|
#include "pins_CHITU3D_common.h"
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Circuit diagram https://github.com/MarlinFirmware/Marlin/files/3401484/x5sa-main_board-2.pdf
|
* Circuit diagram https://github.com/MarlinFirmware/Marlin/files/3401484/x5sa-main_board-2.pdf
|
||||||
*
|
*
|
||||||
* Details on the 30 pin ribbon pins. From: https://3dtoday.ru/blogs/artem-sr/tronxy-x5sa-pro-ustanovka-bfp-touch-na-board-chitu3d-v6-cxy-v6-191017
|
* Details on the 30 pin ribbon pins. From: https://3dtoday.ru/blogs/artem-sr/tronxy-x5sa-pro-ustanovka-bfp-touch-na-board-chitu3d-v6-cxy-v6-191017
|
||||||
|
Reference in New Issue
Block a user