Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/kiibohd/controller
/ functions
Functions
2,387 in github.com/kiibohd/controller
⨍
Functions
2,387
◇
Types & classes
493
↓ 164 callers
Function
check
Checks whether the function passed Adds to global pass/fail counters @param condition: Boolean condition @param info: Additional deb
Scan/TestIn/Tests/common.py:1436
↓ 150 callers
Method
cmd
Run given command from Host-side KLL Does a lookup of both Scan and Output module commands @param command_name: String of c
Lib/host.py:532
↓ 126 callers
Function
GPIO_Ctrl
Pin action (Strobe, Sense, Strobe Setup, Sense Setup) GPIO_Config is only set with DriveSetup and ReadSetup, otherwise it is ignored
Lib/gpio.c:48
↓ 115 callers
Function
printInt16
Debug/print/print.c:135
↓ 91 callers
Function
printInt8
Number Printing Functions
Debug/print/print.c:108
↓ 57 callers
Function
CLI_argumentIsolation
Takes a string, returns two pointers One to the first non-space character The second to the next argument (first NULL if there isn't an argument). del
Debug/cli/cli.c:363
↓ 51 callers
Method
loop
Run Host-side KLL main processing loop N number of times @param number_of_loops: Number of times to run main loop
Lib/host.py:510
↓ 46 callers
Function
Macro_keyState
Update the scancode key state States: 0x00 - Off 0x01 - Pressed 0x02 - Held 0x03 - Released 0x04 - Unpressed (this is currently ignored)
Macro/PartialMap/macro.c:605
↓ 46 callers
Function
_SendPacket
* * _SendPacket() * * Function description * Send a SystemView packet over RTT. RTT channel and mode are * configured by macros when
Output/SeggerRTT/SEGGER_SYSVIEW.c:624
↓ 45 callers
Function
KLL_CapabilityState
Given a state and state type determine a CapabilityState
Macro/PartialMap/kll.c:77
↓ 45 callers
Method
format
Depending on the level, change the formatting.
Scan/TestIn/Tests/kiilogger.py:47
↓ 43 callers
Function
numToInt
Debug/print/print.c:506
↓ 42 callers
Function
SEGGER_SYSVIEW_SendSysDesc
* * SEGGER_SYSVIEW_SendSysDesc() * * Function description * Send the system description string to the host. * The system description
Output/SeggerRTT/SEGGER_SYSVIEW.c:1802
↓ 42 callers
Function
header
Emboldens a string for stdout
Scan/TestIn/Tests/common.py:1510
↓ 40 callers
Function
printInt32
Debug/print/print.c:162
↓ 39 callers
Function
printHex_op
Bootloader/debug.c:269
↓ 31 callers
Function
delay_us
Delay by specified usecs XXX (HaaTa) Possibly not accurate for low us values (for low F_CPU values)
Lib/delay.c:70
↓ 30 callers
Function
memcpy
Lib/sam.c:456
↓ 29 callers
Function
LCD_writeControlReg
Write to a control register
Scan/Devices/STLcd/lcd_scan.c:187
↓ 27 callers
Function
__enable_irq
\brief Enable IRQ Interrupts This function enables IRQ interrupts by clearing the I-bit in the CPSR. Can only be executed in Privileged modes.
Lib/CMSIS/Include/core_cmFunc.h:317
↓ 24 callers
Function
CLI_registerDictionary
Registers a command dictionary with the CLI
Debug/cli/cli.c:423
↓ 24 callers
Function
memset
Lib/sam.c:349
↓ 22 callers
Function
Connect_addBytes
Scan/Devices/UARTConnect/connect_scan.c:204
↓ 22 callers
Function
LED_writeReg
Write address
Scan/Devices/ISSILed/led_scan.c:450
↓ 22 callers
Function
swd_write_word
Write 32-bit word to target memory.
Bootloader/swd/swd_host.c:425
↓ 20 callers
Function
udd_set_setup_payload
Lib/ASF/sam/drivers/udp/udp_device.c:714
↓ 19 callers
Function
swd_transfer_retry
Bootloader/swd/swd_host.c:100
↓ 19 callers
Function
sysclk_enable_peripheral_clock
* \brief Enable a peripheral's clock. * * \param ul_id Id (number) of the peripheral clock. */
Lib/ASF/common/services/clock/sam4s/sysclk.h:407
↓ 18 callers
Function
__disable_irq
\brief Disable IRQ Interrupts This function disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes.
Lib/CMSIS/Include/core_cmFunc.h:328
↓ 17 callers
Function
NVIC_EnableIRQ
\brief Enable External Interrupt The function enables a device-specific interrupt in the NVIC interrupt controller. \param [in] IRQn
Lib/CMSIS/Include/core_cm4.h:1504
↓ 17 callers
Function
PIO_Setup
Lib/gpio.c:217
↓ 16 callers
Function
Time_now
Get current time
Lib/time.c:86
↓ 16 callers
Function
hexToStr_op
Bootloader/debug.c:233
↓ 15 callers
Function
cpu_irq_restore
Lib/ASF/common/utils/interrupt/interrupt_sam_nvic.h:153
↓ 15 callers
Function
efc_perform_command
* \brief Perform the given command and wait until its completion (or an error). * * \note Unique ID commands are not supported, use efc_perform_read
Lib/ASF/sam/drivers/efc/efc.c:256
↓ 15 callers
Function
scan_sendData
Send data
Scan/Deprecated/BETKB/scan_loop.c:249
↓ 15 callers
Function
swd_set_target_reset
Bootloader/swd/target_reset_nrf52.c:70
↓ 15 callers
Function
translate_address
* \brief Translate the given flash address to page and offset values. * \note pus_page and pus_offset must not be null in order to store the * corre
Lib/ASF/sam/services/flash_efc/flash_efc.c:155
↓ 15 callers
Function
usb_send_in
Output/USB/avr/usb_keyboard_serial.c:683
↓ 14 callers
Function
Latency_add_resource
Add latency tracking resource return: resource index
Debug/latency/latency.c:64
↓ 14 callers
Function
Latency_end_time
Measure latency, and store resource: index of resource
Debug/latency/latency.c:137
↓ 14 callers
Function
Latency_start_time
Resource start time resource: index of resource
Debug/latency/latency.c:129
↓ 14 callers
Function
NVIC_SetPriority
\brief Set Interrupt Priority The function sets the priority of an interrupt. \note The priority cannot be set for every core interrupt.
Lib/CMSIS/Include/core_cm4.h:1587
↓ 14 callers
Function
Output_callback
Convenient wrapper for host callback
Output/TestOut/output_testout.c:62
↓ 14 callers
Function
endpoint0_stall
Output/USB/arm/usb_dev.c:196
↓ 14 callers
Function
errorLED
Error LED Control
Debug/led/led.c:51
↓ 14 callers
Function
swd_write_dp
Write debug port register
Bootloader/swd/swd_host.c:167
↓ 13 callers
Function
HIDIO_buffer_generate_packet
Generate packet This function can be called multiple times to generate a full packet Continue to call until the value returned equals payload_len If 0
Output/HID-IO/hidio_com.c:359
↓ 13 callers
Function
LED_syncReg
Write register on all ISSI chips Prepare pages first, then attempt write register with a minimal delay between chips page - ISSI page reg - Register a
Scan/Devices/ISSILedSPI/led_scan.c:222
↓ 13 callers
Function
Pixel_pixelToggle
Toggle given pixel element Debug function, used by cli only XXX
Macro/PixelMap/pixel.c:2244
↓ 13 callers
Function
__SSAT
Lib/CMSIS/Include/arm_math.h:645
↓ 13 callers
Function
printf_verbose
LoadFile/teensy_loader_cli.c:806
↓ 12 callers
Function
cpu_irq_save
Lib/ASF/common/utils/interrupt/interrupt_sam_nvic.h:141
↓ 12 callers
Function
efc_set_wait_state
* \brief Set flash wait state. * * \param p_efc Pointer to an EFC instance. * \param ul_fws The number of wait states in cycle (no shift). */
Lib/ASF/sam/drivers/efc/efc.c:224
↓ 12 callers
Function
swd_read_word
Read 32-bit word from target memory.
Bootloader/swd/swd_host.c:411
↓ 12 callers
Function
sysclk_disable_peripheral_clock
* \brief Disable a peripheral's clock. * * \param ul_id Id (number) of the peripheral clock. */
Lib/ASF/common/services/clock/sam4s/sysclk.h:417
↓ 12 callers
Function
uint32ToHex16
XXX UInt32 to Hex16 UTF16LE This function takes advantage of a few things to save on flash space 1) Does not set anything if zero 2) No padding 3) Sta
Bootloader/usb.c:90
↓ 12 callers
Function
usb_ep0_tx_cp
Bootloader/usb.c:269
↓ 11 callers
Function
HIDIO_buffer_munch
A pointer the data is returned, which may or may not be the provided buffer
Output/HID-IO/hidio_com.c:160
↓ 11 callers
Function
Matrix_setup
Setup GPIO pins for matrix scanning
Scan/Devices/MatrixARMPeriodic/matrix_scan.c:149
↓ 11 callers
Function
_EncodeStr
* * _EncodeStr() * * Function description * Encode a string in variable-length format. * * Parameters * pPayload - Pointer to whe
Output/SeggerRTT/SEGGER_SYSVIEW.c:388
↓ 11 callers
Function
pio_pull_up
* \brief Configure PIO internal pull-up. * * \param p_pio Pointer to a PIO instance. * \param ul_mask Bitmask of one or more pin(s) to configure.
Lib/ASF/sam/drivers/pio/pio.c:69
↓ 11 callers
Function
rand_available
Lib/entropy.c:56
↓ 11 callers
Function
rand_value32
Pseudo-random value using clock XXX (HaaTa) Host shouldn't need random numbers. If they are needed, this should be changed to something better.
Lib/entropy.c:64
↓ 11 callers
Function
yield
Lib/delay.c:158
↓ 10 callers
Function
LED_scan
Scan/Devices/ISSILed/led_scan.c:887
↓ 10 callers
Function
Layer_layerStateSet
Sets the given layer with the specified layerState
Macro/PartialMap/layer.c:74
↓ 10 callers
Function
Matrix_currentChange
Called by parent scan module whenever the available current changes current - mA
Scan/Devices/MatrixARMPeriodic/matrix_scan.c:586
↓ 10 callers
Function
Pixel_ApplyFadeBrightness
Given a starting value and profile, calculate the resulting brightness The returned value is always equal to or less than val
Macro/PixelMap/pixel.c:2305
↓ 10 callers
Function
Pixel_process
Pixel Procesing Loop
Macro/PixelMap/pixel.c:2633
↓ 10 callers
Function
Pixel_setup
Macro/PixelMap/pixel.c:3011
↓ 10 callers
Function
_StoreChar
* * _StoreChar() * * Function description * Stores a character in the printf-buffer and sends the buffer when * it is filled. * *
Output/SeggerRTT/SEGGER_SYSVIEW.c:844
↓ 10 callers
Function
pio_set_peripheral
* \brief Configure IO of a PIO controller as being controlled by a specific * peripheral. * * \param p_pio Pointer to a PIO instance. * \param ul_
Lib/ASF/sam/drivers/pio/pio.c:174
↓ 10 callers
Method
usb_keyboard
Returns a tuple of USB Keyboard output
Lib/host.py:283
↓ 10 callers
Function
usb_malloc
Output/USB/arm/usb_mem.c:72
↓ 10 callers
Function
usb_wait_in_ready
Misc functions to wait for ready and send/receive packets
Output/USB/avr/usb_keyboard_serial.c:679
↓ 9 callers
Function
HIDIO_print_flush
Output/HID-IO/hidio_com.c:1738
↓ 9 callers
Function
LED_setup
Setup
Scan/Devices/ISSILed/led_scan.c:745
↓ 9 callers
Function
Matrix_single_scan
Single strobe matrix scan Only goes through a single strobe This module keeps track of the next strobe to scan
Scan/Devices/MatrixARMPeriodic/matrix_scan.c:270
↓ 9 callers
Function
Matrix_start
Start periodic timer
Scan/Devices/MatrixARMPeriodic/matrix_scan.c:577
↓ 9 callers
Function
NVIC_DisableIRQ
\brief Disable External Interrupt The function disables a device-specific interrupt in the NVIC interrupt controller. \param [in] IRQn
Lib/CMSIS/Include/core_cm4.h:1517
↓ 9 callers
Function
SPI_write
Write buffer to SPI FIFO
Scan/Devices/STLcd/lcd_scan.c:158
↓ 9 callers
Function
Time_duration_rollover_now
Lib/time.c:378
↓ 9 callers
Function
__DSB
\brief Data Synchronization Barrier This function acts as a special kind of Data Memory Barrier. It completes when all explicit memory acces
Lib/CMSIS/Include/core_cmInstr.h:443
↓ 9 callers
Function
arch_ioport_port_to_base
Lib/ASF/common/services/ioport/sam/ioport_pio.h:102
↓ 8 callers
Function
Connect_send_RemoteCapability
Send a remote capability command using capability index This may not be what's expected (especially if the firmware is not the same on each node) To b
Scan/Devices/UARTConnect/connect_scan.c:352
↓ 8 callers
Function
LED_currentChange
Called by parent Scan Module whenver the available current has changed current - mA
Scan/Devices/ISSILed/led_scan.c:1031
↓ 8 callers
Function
OutputGen_setup
Output Module Setup
Output/Interface/output_gen.c:132
↓ 8 callers
Function
_VPrintHost
Define in project to avoid warnings about variable parameter list * * _VPrintHost() * * Function description * Send a format string and
Output/SeggerRTT/SEGGER_SYSVIEW.c:763
↓ 8 callers
Function
_VPrintTarget
* * _VPrintTarget() * * Function description * Stores a formatted string. * This data is read by the host. * * Parameters * s
Output/SeggerRTT/SEGGER_SYSVIEW.c:1050
↓ 8 callers
Function
die
LoadFile/teensy_loader_cli.c:829
↓ 8 callers
Function
efc_write_fmr
Lib/ASF/sam/drivers/efc/efc.c:393
↓ 8 callers
Function
hex32ToStr16
Converts a number to UTF-16LE Useful for fields in the USB Descriptor
Debug/print/print.c:443
↓ 8 callers
Function
osc_enable
Lib/ASF/common/services/clock/sam4s/osc.h:110
↓ 8 callers
Function
osc_wait_ready
* \brief Wait until the oscillator identified by \a id is ready * * This function will busy-wait for the oscillator identified by \a id * to become
Lib/ASF/common/services/clock/osc.h:162
↓ 8 callers
Function
printHex32_op
Debug/print/print.c:248
↓ 8 callers
Function
swd_off
Bootloader/swd/swd_host.c:131
↓ 8 callers
Function
swd_write_ap
Write access port register
Bootloader/swd/swd_host.c:217
↓ 7 callers
Function
Output_current_available
Power/Current Available
Output/Interface/output_gen.c:210
↓ 7 callers
Function
Output_update_usb_current
Update USB current (mA) Triggers power change event
Output/Interface/output_gen.c:153
next →
1–100 of 2,387, ranked by callers