博文

目前显示的是 五月, 2026的博文

JL JieLi AC696N Series Development GPIO Control Encyclopedia: Modes, APIs, and Special Pins

图片
Introduction GPIO configuration seems simple, but there are plenty of cases where things go wrong. If the drive strength isn't set correctly, an LED might be too dim or not light at all. Without proper pull-up/pull-down configuration, button detection can be erratic. The most troublesome is the USB pin—it might default to a regular GPIO, and if you forget to switch its function, your PC won't recognize the device. The JL JieLi AC696N's GPIOs are quite versatile, with three drive strength levels (normal, strong, super strong) and various APIs. However, these functions are scattered throughout the documentation, and you often have to search for a while when using them. I've gone through the common GPIO configurations on the AC696N development board and organized them into a table, so you can quickly look them up when writing drivers. I. GPIO Operating Modes Input Mode: Can be configured as floating, pull-up, pull-down, or analog (for ADC). In input mode, output is disab...